Haiku and qemu and sound

Hello

I’ve got Haiku running on WinXP under Qemu, but I cannot get any sound for some reason. Is this a known issue, or can someone copy and paste me their working Qemu command? I think I have this issue in Linux as well, but I’m not there currently, but will update this post anon once I am.

Please advise if I need to post my machine specs.

My current command is:

REM Start qemu on windows.
@ECHO OFF

REM SDL_VIDEODRIVER=directx is faster than windib. But keyboard cannot work well.
SET SDL_VIDEODRIVER=windib

REM SDL_AUDIODRIVER=waveout or dsound can be used. Only if QEMU_AUDIO_DRV=sdl.
SET SDL_AUDIODRIVER=dsound

REM QEMU_AUDIO_DRV=dsound or fmod or sdl or none can be used. See qemu -audio-help.
SET QEMU_AUDIO_DRV=sdl

REM QEMU_AUDIO_LOG_TO_MONITOR=1 displays log messages in QEMU monitor.
SET QEMU_AUDIO_LOG_TO_MONITOR=1

REM PCI-based PC(default): -M pc 
REM ISA-based PC         : -M isapc
REM -M isapc is added for NE2000 ISA card.

REM qemu.exe -L . -m 1024 -kernel-kqemu -soundhw es1370 -net user -net nic,model=rtl8139 -hda haiku.img -localtime -M pc

qemu.exe -L . -m 1024 qemu -soundhw all -net user -net nic -M pc -localtime -hda haiku.img

thanks in advance

I got BeOS 5 Pro working under QEMU, using the Q user interface for Mac OS X.

It didn’t have sound either, which was disappointing because I’m working on an audio application.

But that was a long time ago; sometime this week, I’ll try with the latest build of Q, and will report back here.

Q updates from the QEMU sources from time to time - I’ll be able to tell you which QEMU version it’s using.

Try the Open Sound System. A few months ago when there was no sound under VirtualBox, OSS worked as a work around for me.

http://www.haikuware.com/view-details/drivers/audio/open-sound-system-oss