[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [WIN32] audio
From: |
Ronald |
Subject: |
[Qemu-devel] Re: [WIN32] audio |
Date: |
Wed, 13 Oct 2004 08:38:55 +0200 |
User-agent: |
Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) |
Le Wed, 13 Oct 2004 03:57:26 +0200, Ronald a écrit :
> Hi,
>
> Just found out, after reading an old patch
> (qemu-20040621-6_aqemu.patch.gz), that some #ifdef in hw/pc.c prevent qemu
> for windows to have sound support.
>
> The offending lines start at 557:
>
> #ifndef _WIN32
> if (audio_enabled) {
> /*no audio supported yet for win32 */
> AUD_init();
> SB16_init();
> }
> #endif
>
> Tried with current cvs + Johannes patch applied, windows guest, I can hear
> the startup sound.
I've done some more tests: startup sound is always played correctly, but
(I have installed the nature theme) sounds played with menu events for
exemple are repeated forever, mpeg or mp3 are choppy.
If I set SDL_AUDIODRIVER=waveout¹ this eliminate problems with windows
sounds, but still no luck with wmp.
Not related to audio, but still win32 host, settings
SDL_VIDEODRIVER=windib solves my fullscreen problem.
¹ more var on ftp://ptah.lnf.kth.se/pub/misc/sdl-env-vars