Hi Gerd,

I had problems with Windows LiveMeeting expecting a microphone as
input. But the HDA model only exposes a line-in port. The following hack
works for me, but I bet there is a cleaner solution. Any suggestions?

BTW, sound output quality of a Win7 guest on my Linux hosts sucks while
it's fine for a Linux guest. I vaguely recall that Windows requests a
too small DAC buffer, is that true? Is there anything one can do about
this?

Jan


diff --git a/hw/hda-audio.c b/hw/hda-audio.c
index 8995519..bf28969 100644
--- a/hw/hda-audio.c
+++ b/hw/hda-audio.c
@@ -411,7 +411,7 @@ static const desc_node duplex_nodes[] = {
         .params  = duplex_params_audio_linein,
         .nparams = ARRAY_SIZE(duplex_params_audio_linein),
         .config  = ((AC_JACK_PORT_COMPLEX << AC_DEFCFG_PORT_CONN_SHIFT) |
-                    (AC_JACK_LINE_IN      << AC_DEFCFG_DEVICE_SHIFT)    |
+                    (AC_JACK_MIC_IN       << AC_DEFCFG_DEVICE_SHIFT)    |
                     (AC_JACK_CONN_UNKNOWN << AC_DEFCFG_CONN_TYPE_SHIFT) |
                     (AC_JACK_COLOR_RED    << AC_DEFCFG_COLOR_SHIFT)     |
                     0x20),

-- 
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux

Reply via email to