aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authormalc <av1474@comtv.ru>2009-10-10 01:13:41 +0400
committermalc <av1474@comtv.ru>2009-10-10 01:18:24 +0400
commitd56316388d09c976ba2ac2ab67a400f98a11116f (patch)
tree3e46a425c5d9f4fbaead918bc07aa7bf59e53cef /configure
parentad323081aa0e20d3d573ea64e88a893d576c05e0 (diff)
Windows Waveform Audio driver (no ADC support yet)
Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure16
1 files changed, 14 insertions, 2 deletions
diff --git a/configure b/configure
index 39658ff50..3840e187d 100755
--- a/configure
+++ b/configure
@@ -48,6 +48,7 @@ helper_cflags=""
libs_softmmu=""
libs_tools=""
audio_pt_int=""
+audio_win_int=""
# parse CC options first
for opt do
@@ -242,11 +243,13 @@ case $targetos in
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 @@ for drv in $audio_drv_list; do
dsound)
libs_softmmu="-lole32 -ldxguid $libs_softmmu"
+ audio_win_int="yes"
;;
oss)
@@ -1179,6 +1183,11 @@ for drv in $audio_drv_list; do
# 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 @@ done
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