From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MmnIE-0004F2-58 for qemu-devel@nongnu.org; Sun, 13 Sep 2009 07:30:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MmnI8-0004Eq-PK for qemu-devel@nongnu.org; Sun, 13 Sep 2009 07:30:53 -0400 Received: from [199.232.76.173] (port=59790 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MmnI8-0004En-KI for qemu-devel@nongnu.org; Sun, 13 Sep 2009 07:30:48 -0400 Received: from fmmailgate01.web.de ([217.72.192.221]:47592) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MmnI8-0006w0-0o for qemu-devel@nongnu.org; Sun, 13 Sep 2009 07:30:48 -0400 Message-ID: <4AACD7DB.2080800@web.de> Date: Sun, 13 Sep 2009 13:30:35 +0200 From: Jan Kiszka MIME-Version: 1.0 References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig26EFA95E323C3ED255DC1AA5" Sender: jan.kiszka@web.de Subject: [Qemu-devel] Re: Audio List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: malc Cc: qemu-devel This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig26EFA95E323C3ED255DC1AA5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 Signed-off-by: Jan Kiszka --- audio/audio.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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[] =3D { { .name =3D "ADC_TRY_POLL", .tag =3D AUD_OPT_BOOL, - .valp =3D &conf.try_poll_out, + .valp =3D &conf.try_poll_in, .descr =3D "Attempt using poll mode for ADC" }, /* Misc */ --------------enig26EFA95E323C3ED255DC1AA5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkqs198ACgkQniDOoMHTA+mg0wCdEL1/8xHGugCvZBQn8V5YXmcQ GwYAmgKD0k5eRmpiGcs6A2sn2Z27+Hg/ =YYF0 -----END PGP SIGNATURE----- --------------enig26EFA95E323C3ED255DC1AA5--