History | View | Annotate | Download (30.9 kB)
hda: move input widgets from duplex to common
Preparing for a new user of the input widget definitions.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>Signed-off-by: malc <av1474@comtv.ru>
hda: add hda-micro codec
It's identical to the hda-duplex codec, except that it advertises theinput as microphone instead of line-in and the output as speaker insteadof line-out. Some guest apps (microsoft netmeeting being one) are pickywhen it comes to selecting the recording source and don't accept...
hda: fix codec ids
Our hda codecs exist in two variants: With CONFIG_MIXEMU=y they exposeamplifiers for volume control to the guest, with CONFIG_MIXEMU=n theydon't.
This patch changes the codec ids, they are different now for these twocases. This makes sure windows guests will notice the difference....
qom: Unify type registration
Replace device_init() with generalized type_init().
While at it, unify naming convention: type_init([$prefix_]register_types)Also, type_init() is a function, so add preceding blank line wherenecessary and don't put a semicolon after the closing brace....
qdev: register all types natively through QEMU Object Model
This was done in a mostly automated fashion. I did it in three steps and thenrebased it into a single step which avoids repeatedly touching every file inthe tree.
The first step was a sed-based addition of the parent type to the subclass...
hda-codec: convert to QEMU Object Model
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qdev: don't access name through info
We already have a QOM interface for this so let's use it.
qdev: move qdev->info to class
Right now, DeviceInfo acts as the class for qdev. In order to switch to aproper ObjectClass derivative, we need to ween all of the callers off ofinteracting directly with the info pointer.
hda: do not mix output and input stream states, RHBZ #740493
Windows 7 may use the same stream number for input and output.Current code will confuse streams.
Changes since v1:- keep running_compat[] for migration version 1- add running_real[] for migration version 2...
hda-audio: exit cleanup
Add exit callback to the driver. Unregister the sound card properlyon exit.
[ v2: codestyle: add braces ]
hda-audio: Zap tabs
Signed-off-by: malc <av1474@comtv.ru>
Add Intel HD Audio support to qemu.
This patch adds three devices to qemu:
intel-hda Intel HD Audio Controller, the PCI device. Provides a HDA bus. Emulates ICH6 at the moment. Adding a ICH9 PCIE variant shouldn't be hard.
hda-duplex HDA Codec. Attaches to the HDA bus. Supports 16bit stereo,...