diff options
author | David 'Digit' Turner <digit@android.com> | 2011-01-02 12:58:51 +0100 |
---|---|---|
committer | David 'Digit' Turner <digit@android.com> | 2011-01-02 13:05:31 +0100 |
commit | 5d0e37bc290d1743cb5acf76eb6608f1303f27dd (patch) | |
tree | 142486cd40940a38aa4fe5947521b39dc2cec339 /audio/winaudio.c | |
parent | e3650680f44fed0262d33eb4f486e5c1e58ddc32 (diff) | |
download | external_qemu-5d0e37bc290d1743cb5acf76eb6608f1303f27dd.zip external_qemu-5d0e37bc290d1743cb5acf76eb6608f1303f27dd.tar.gz external_qemu-5d0e37bc290d1743cb5acf76eb6608f1303f27dd.tar.bz2 |
upstream: audio sub-system improvements.
This patch updates the audio subsystem to match the one
in upstream. Note that this gets rid of the ability to
specify different audio backends for input and output,
which was never really used.
A future patch will remove the -audio-in and -audio-out
options and related code.
Change-Id: I37c21672bcb15ef1f0e928c56bf99fbecda2bce6
Diffstat (limited to 'audio/winaudio.c')
-rw-r--r-- | audio/winaudio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/audio/winaudio.c b/audio/winaudio.c index ca6c487..75f6af2 100644 --- a/audio/winaudio.c +++ b/audio/winaudio.c @@ -251,12 +251,11 @@ winaudio_out_init (HWVoiceOut *hw, struct audsettings *as) static int
-winaudio_out_run (HWVoiceOut *hw)
+winaudio_out_run (HWVoiceOut *hw, int live)
{
WinAudioOut* s = (WinAudioOut*) hw;
int played = 0;
int has_buffer;
- int live = audio_pcm_hw_get_live_out (hw);
if (!live) {
return 0;
|