From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=40442 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PB9ZZ-0005bw-0w for qemu-devel@nongnu.org; Wed, 27 Oct 2010 13:14:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PB9ZU-0006WC-Dy for qemu-devel@nongnu.org; Wed, 27 Oct 2010 13:14:00 -0400 Received: from mga01.intel.com ([192.55.52.88]:7408) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PB9ZT-0006VW-Uy for qemu-devel@nongnu.org; Wed, 27 Oct 2010 13:13:56 -0400 Message-ID: <4CC85DA5.9090704@linux.intel.com> Date: Wed, 27 Oct 2010 10:13:09 -0700 From: "H. Peter Anvin" MIME-Version: 1.0 References: <1288195475-3807-1-git-send-email-kraxel@redhat.com> <1288195475-3807-6-git-send-email-kraxel@redhat.com> In-Reply-To: <1288195475-3807-6-git-send-email-kraxel@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH 5/6] Add support for a USB audio device model List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: qemu-devel@nongnu.org On 10/27/2010 9:04 AM, Gerd Hoffmann wrote: > From: H. Peter Anvin > > This brings a usb audio device to qemu. Output only, fixed at > 16bit stereo @ 480000 Hz. Based on a patch from > H. Peter Anvin > > Usage: add '-device usb-audio' to your qemu command line. > > Works sorta ok on a idle machine. Known issues: > > * Is *very* sensitive to latencies: when the uhci emulation misses one > of the usb frame rate wakeups (1k/sec!) you'll loose/delay data from > the audio stream, resulting in dropouts. > * Also seems to not play very well with the usb tablet (and/or usb hub, > to be investigated). Best try this as the only device on a usb bus. > * Burns quite some CPU due to usb polling. > > In short: It brings the qemu usb emulation to its limits. Enjoy! > > Signed-off-by: Gerd Hoffmann Please don't apply this. This patch is outdated and has several glaring bugs. I can send a better patch later (I'm in an all-day meeting with insanely bad networking.) -hpa