usb: add audio device model
authorH. Peter Anvin <hpa@linux.intel.com>
Fri, 10 Sep 2010 21:47:56 +0000 (14:47 -0700)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 13 Jan 2012 09:25:44 +0000 (10:25 +0100)
commitb870472db5c90d3c96f4b85fbdfce87ce8076fc8
tree20232ae712793fff9b2fd4a679fc86e49559f90e
parentcc5f13956c3e681d5974bc81b6d275c19666af4b
usb: add audio device model

This brings a usb audio device to qemu.  Output only, fixed at
16bit stereo @ 480000 Hz.  Based on a patch from
H. Peter Anvin <hpa@linux.intel.com>

Usage: add '-device usb-audio' to your qemu command line.

Works sorta ok on a idle machine.  Known issues:

 * Is *very* sensitive to latencies.
 * 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 <kraxel@redhat.com>
Makefile.objs
hw/usb-audio.c [new file with mode: 0644]
hw/usb-net.c
hw/usb.h