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/paaudio.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/paaudio.c')
-rw-r--r-- | audio/paaudio.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/audio/paaudio.c b/audio/paaudio.c index ed2c58c..c78353b 100644 --- a/audio/paaudio.c +++ b/audio/paaudio.c @@ -151,17 +151,11 @@ static void *qpa_thread_out (void *arg) return NULL; } -static int qpa_run_out (HWVoiceOut *hw) +static int qpa_run_out (HWVoiceOut *hw, int live) { int decr; - int live; PAVoiceOut *pa = (PAVoiceOut *) hw; - live = audio_pcm_hw_get_live_out (hw); - if (!live) { - return 0; - } - if (audio_pt_lock (&pa->pt, AUDIO_FUNC)) { return 0; } |