Windows Waveform Audio driver (no ADC support yet)
Signed-off-by: malc <av1474@comtv.ru>
diff --git a/configure b/configure
index 39658ff..3840e18 100755
--- a/configure
+++ b/configure
@@ -48,6 +48,7 @@
libs_softmmu=""
libs_tools=""
audio_pt_int=""
+audio_win_int=""
# parse CC options first
for opt do
@@ -242,11 +243,13 @@
CYGWIN*)
mingw32="yes"
QEMU_CFLAGS="-mno-cygwin $QEMU_CFLAGS"
- audio_possible_drivers="sdl"
+ audio_possible_drivers="winwave sdl"
+ audio_drv_list="winwave"
;;
MINGW32*)
mingw32="yes"
- audio_possible_drivers="dsound sdl fmod"
+ audio_possible_drivers="winwave dsound sdl fmod"
+ audio_drv_list="winwave"
;;
GNU/kFreeBSD)
audio_drv_list="oss"
@@ -1169,6 +1172,7 @@
dsound)
libs_softmmu="-lole32 -ldxguid $libs_softmmu"
+ audio_win_int="yes"
;;
oss)
@@ -1179,6 +1183,11 @@
# XXX: Probes for CoreAudio, DirectSound, SDL(?)
;;
+ winwave)
+ libs_softmmu="-lwinmm $libs_softmmu"
+ audio_win_int="yes"
+ ;;
+
*)
echo "$audio_possible_drivers" | grep -q "\<$drv\>" || {
echo
@@ -1885,6 +1894,9 @@
if test "$audio_pt_int" = "yes" ; then
echo "CONFIG_AUDIO_PT_INT=y" >> $config_host_mak
fi
+if test "$audio_win_int" = "yes" ; then
+ echo "CONFIG_AUDIO_WIN_INT=y" >> $config_host_mak
+fi
if test "$mixemu" = "yes" ; then
echo "CONFIG_MIXEMU=y" >> $config_host_mak
fi