From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jt5h9-0001Uv-2v for qemu-devel@nongnu.org; Mon, 05 May 2008 14:45:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jt5h6-0001UA-In for qemu-devel@nongnu.org; Mon, 05 May 2008 14:45:49 -0400 Received: from [199.232.76.173] (port=50525 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jt5h6-0001Tz-Dc for qemu-devel@nongnu.org; Mon, 05 May 2008 14:45:48 -0400 Received: from fmmailgate01.web.de ([217.72.192.221]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jt5h5-0000CW-Uc for qemu-devel@nongnu.org; Mon, 05 May 2008 14:45:48 -0400 Message-ID: <481F554B.1020100@web.de> Date: Mon, 05 May 2008 20:43:23 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <481B6626.7010603@web.de> <481B80F0.8050705@web.de> <481D670D.6070602@web.de> <481DF561.4050709@web.de> <481E1001.3010703@web.de> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigCD2AEC034F83D390B93915F4" Sender: jan.kiszka@web.de Subject: [Qemu-devel] Re: [PATCH] alsaaudio: increase default buffer sizes Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: malc Cc: qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigCD2AEC034F83D390B93915F4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable malc wrote: > On Sun, 4 May 2008, Jan Kiszka wrote: >=20 >> Jan Kiszka wrote: >>> malc wrote: >>>> On Sun, 4 May 2008, Jan Kiszka wrote: >>>> >=20 > [..snip..] >=20 >>> >>> Yeah, great, that was the key! Find below the version that works for = me >>> (on 64 bit 8) ). It even obsoletes my buffer size patch. Please merge= ! >> >> Declaring the buffer size tweak obsolete was too quick. I still need >> more under certain guest load, but now I'm already fine with >> DEFAULT_BUFFER_SIZE=3D4096. Or all in one: >=20 > I wonder if everyone will be happy with quadrupled latency, apart from Hmm, I wonder about the scenario where this latency may actually hurt. QEMU is not /that/ fast anyway. ;) > you and this other user on some (kvm was it) mailing list there are no > huge outcries of dissatisfaction, then again i'm not sure how many peop= le > use ALSA+QEMU or QEMUs+AUDIO in general. I don't think many users are actually running QEMU (or KVM) against ALSA. You have to - manually enable it during configure - pass QEMU_AUDIO_DRV=3Dalsa (OSS remains default even if ALSA is on - I= ran into this trap first.) - possibly have to fix up your configuration with FIXED_FREQ and BUFFER_SIZE (as reported by >1 kvm users) until As OSS does not give us shared sound device access and, in the end, is a deprecated API under Linux, my goal is to overcome remaining issues of the ALSA support and then make /this/ the default one (under Linux). Jan --------------enigCD2AEC034F83D390B93915F4 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.4-svn0 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFIH1VSniDOoMHTA+kRAtlFAJ4rLXGtkdAZloxCdl5oLJSgISvUWACdGcn1 W6WGbyIqbx62RQP9auu5UBc= =9CWM -----END PGP SIGNATURE----- --------------enigCD2AEC034F83D390B93915F4--