Re: [Qemu-devel] [HACK] hda: expose microphone instead of line-in

2012-05-03 Thread Jan Kiszka
On 2012-05-03 11:15, Gerd Hoffmann wrote: > Hi, > The point is that both pt as well as emulation suffer from the same issue: lacking real-time support of QEMU. So I guess Windows uses a different buffer size for the real hardware than for our HDA model. >>> >>> For pt hardware, th

Re: [Qemu-devel] [HACK] hda: expose microphone instead of line-in

2012-05-03 Thread Gerd Hoffmann
Hi, >>> The point is that both pt as well as emulation suffer from the same >>> issue: lacking real-time support of QEMU. So I guess Windows uses a >>> different buffer size for the real hardware than for our HDA model. >> >> For pt hardware, the BARs just get directly mapped into guest memory s

Re: [Qemu-devel] [HACK] hda: expose microphone instead of line-in

2012-05-03 Thread Jan Kiszka
On 2012-05-03 09:42, Alexander Graf wrote: > > On 03.05.2012, at 14:29, Jan Kiszka wrote: > >> On 2012-05-02 19:42, Alexander Graf wrote: >>> >>> On 02.05.2012, at 20:17, Jan Kiszka wrote: >>> On 2012-04-25 09:34, Gerd Hoffmann wrote: > On 04/25/12 13:03, Jan Kiszka wrote: >> Hi Gerd

Re: [Qemu-devel] [HACK] hda: expose microphone instead of line-in

2012-05-03 Thread Alexander Graf
On 03.05.2012, at 14:29, Jan Kiszka wrote: > On 2012-05-02 19:42, Alexander Graf wrote: >> >> On 02.05.2012, at 20:17, Jan Kiszka wrote: >> >>> On 2012-04-25 09:34, Gerd Hoffmann wrote: On 04/25/12 13:03, Jan Kiszka wrote: > Hi Gerd, > > I had problems with Windows LiveMeeting

Re: [Qemu-devel] [HACK] hda: expose microphone instead of line-in

2012-05-03 Thread Gerd Hoffmann
Hi, >>> I found another workaround: audio hw passthrough. Works nicely. And this >>> indicates that there should be still some room for improvement in the >>> device model so that Windows chooses a proper ring buffer size, no? >> >> Why? For hw passthrough, mmio doesn't go through qemu anymore,

Re: [Qemu-devel] [HACK] hda: expose microphone instead of line-in

2012-05-03 Thread Jan Kiszka
On 2012-05-02 19:42, Alexander Graf wrote: > > On 02.05.2012, at 20:17, Jan Kiszka wrote: > >> On 2012-04-25 09:34, Gerd Hoffmann wrote: >>> On 04/25/12 13:03, Jan Kiszka wrote: Hi Gerd, I had problems with Windows LiveMeeting expecting a microphone as input. But the HDA model

Re: [Qemu-devel] [HACK] hda: expose microphone instead of line-in

2012-05-02 Thread Alexander Graf
On 02.05.2012, at 20:17, Jan Kiszka wrote: > On 2012-04-25 09:34, Gerd Hoffmann wrote: >> On 04/25/12 13:03, Jan Kiszka wrote: >>> 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 >>> w

Re: [Qemu-devel] [HACK] hda: expose microphone instead of line-in

2012-05-02 Thread Jan Kiszka
On 2012-04-25 09:34, Gerd Hoffmann wrote: > On 04/25/12 13:03, Jan Kiszka wrote: >> 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. An

Re: [Qemu-devel] [HACK] hda: expose microphone instead of line-in

2012-04-25 Thread Gerd Hoffmann
On 04/25/12 13:03, Jan Kiszka wrote: > 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? Good to know this works. /me ha

[Qemu-devel] [HACK] hda: expose microphone instead of line-in

2012-04-25 Thread Jan Kiszka
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 fi