hda: add hda-micro codec
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 26 Apr 2012 07:15:03 +0000 (09:15 +0200)
committermalc <av1474@comtv.ru>
Thu, 26 Apr 2012 08:54:17 +0000 (12:54 +0400)
commit201100656986735250ed4cd47be6b8a31c771763
tree61c1292008d64cfea1c2f3f949b38d1476a15e0d
parentd0c2bbb9f04925eeda9948586aa382ccf68e26e7
hda: add hda-micro codec

It's identical to the hda-duplex codec, except that it advertises the
input as microphone instead of line-in and the output as speaker instead
of line-out.  Some guest apps (microsoft netmeeting being one) are picky
when it comes to selecting the recording source and don't accept
line-in, so give them what they expect.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: malc <av1474@comtv.ru>
hw/hda-audio.c