Patchwork Re: Audio

login
register
mail settings
Submitter Jan Kiszka
Date Sept. 13, 2009, 11:30 a.m.
Message ID <4AACD7DB.2080800@web.de>
Download mbox | patch
Permalink /patch/33548/
State Superseded
Headers show

Comments

Jan Kiszka - Sept. 13, 2009, 11:30 a.m.
malc wrote:
> The code was just commited that enables "polling" audio mode (oss and
> alsa), it's also unconditionally enabled now to obtain some testing
> coverage, so please give it a whirl, feedback is welcome.

CPU load goes to 100% when starting my Musicpal image. Applying the fix
below and disabling polling again cures this effect here.

Jan

--------->

audio: Fix typo that broke QEMU_AUDIO_ADC_TRY_POLL

From: Jan Kiszka <jan.kiszka@web.de>

Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
---

 audio/audio.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/audio/audio.c b/audio/audio.c
index e223cf3..d8e5496 100644
--- a/audio/audio.c
+++ b/audio/audio.c
@@ -1607,7 +1607,7 @@  static struct audio_option audio_options[] = {
     {
         .name  = "ADC_TRY_POLL",
         .tag   = AUD_OPT_BOOL,
-        .valp  = &conf.try_poll_out,
+        .valp  = &conf.try_poll_in,
         .descr = "Attempt using poll mode for ADC"
     },
     /* Misc */