[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 02/24] audio: remove CONFIG_AUDIO_WIN_INT
From: |
Paolo Bonzini |
Subject: |
[PATCH v2 02/24] audio: remove CONFIG_AUDIO_WIN_INT |
Date: |
Tue, 12 Oct 2021 13:12:40 +0200 |
Ever since winwaveaudio was removed in 2015, CONFIG_AUDIO_WIN_INT
is only set if dsound is in use, so use CONFIG_AUDIO_DSOUND directly.
Cc: Gerd Hoffman <kraxel@redhat.com>
Cc: Volker RĂ¼melin <vr_qemu@t-online.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20211007130630.632028-3-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
audio/meson.build | 4 ++--
configure | 5 -----
2 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/audio/meson.build b/audio/meson.build
index 7d53b0f920..9a95c58f18 100644
--- a/audio/meson.build
+++ b/audio/meson.build
@@ -8,8 +8,8 @@ softmmu_ss.add(files(
))
softmmu_ss.add(when: [coreaudio, 'CONFIG_AUDIO_COREAUDIO'], if_true:
files('coreaudio.c'))
-softmmu_ss.add(when: [dsound, 'CONFIG_AUDIO_DSOUND'], if_true:
files('dsoundaudio.c'))
-softmmu_ss.add(when: ['CONFIG_AUDIO_WIN_INT'], if_true:
files('audio_win_int.c'))
+softmmu_ss.add(when: [dsound, 'CONFIG_AUDIO_DSOUND'],
+ if_true: files('dsoundaudio.c', 'audio_win_int.c'))
audio_modules = {}
foreach m : [
diff --git a/configure b/configure
index ab6bc0c994..6a6273ce7b 100755
--- a/configure
+++ b/configure
@@ -245,7 +245,6 @@ block_drv_rw_whitelist=""
block_drv_ro_whitelist=""
block_drv_whitelist_tools="no"
host_cc="cc"
-audio_win_int=""
libs_qga=""
debug_info="yes"
lto="false"
@@ -3075,7 +3074,6 @@ for drv in $audio_drv_list; do
dsound)
dsound_libs="-lole32 -ldxguid"
- audio_win_int="yes"
;;
oss)
@@ -4560,9 +4558,6 @@ if test "$libjack" = "yes" ; then
echo "CONFIG_LIBJACK=y" >> $config_host_mak
fi
echo "JACK_LIBS=$jack_libs" >> $config_host_mak
-if test "$audio_win_int" = "yes" ; then
- echo "CONFIG_AUDIO_WIN_INT=y" >> $config_host_mak
-fi
echo "CONFIG_BDRV_RW_WHITELIST=$block_drv_rw_whitelist" >> $config_host_mak
echo "CONFIG_BDRV_RO_WHITELIST=$block_drv_ro_whitelist" >> $config_host_mak
if test "$block_drv_whitelist_tools" = "yes" ; then
--
2.31.1
- [PATCH v2 00/24] configure->meson queue for 6.2, Paolo Bonzini, 2021/10/12
- [PATCH v2 02/24] audio: remove CONFIG_AUDIO_WIN_INT,
Paolo Bonzini <=
- [PATCH v2 01/24] configure: remove --oss-lib, Paolo Bonzini, 2021/10/12
- [PATCH v2 04/24] meson: define symbols for all available audio drivers, Paolo Bonzini, 2021/10/12
- [PATCH v2 05/24] configure: add command line options for audio drivers, Paolo Bonzini, 2021/10/12
- [PATCH v2 03/24] configure, meson: move audio driver detection to Meson, Paolo Bonzini, 2021/10/12
- [PATCH v2 09/24] trace: move configuration from configure to Meson, Paolo Bonzini, 2021/10/12
- [PATCH v2 11/24] configure, meson: get HOST_WORDS_BIGENDIAN via the machine object, Paolo Bonzini, 2021/10/12
- [PATCH v2 06/24] kconfig: split CONFIG_SPARSE_MEM from fuzzing, Paolo Bonzini, 2021/10/12
- [PATCH v2 07/24] configure, meson: move fuzzing configuration to Meson, Paolo Bonzini, 2021/10/12