[wdmaudiodev] Re: Shared mode recording doesn't work if CurrentCount is nonzero

  • From: Eugene Muzychenko <eugene@xxxxxxxxxxxxxx>
  • To: Matthew van Eerde <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Sun, 24 Aug 2014 19:43:40 +0700

Hello Matthew,

> A direct KS client sets the mux to "microphone" and captures from
> the streaming endpoint. The current instance count goes from 0 to 1.

> Now an app tries to capture from the line in. The Windows audio
> engine would normally set the mux to "line in" and open a pin
> instance on the streaming pin. This would cause the Direct KS client
> to mysteriously start capturing data from the line in as well, which
> would be undesired.

Exactly the same would happen if Audio Engine starts capturing first,
supposing all is OK then another KS client changes mux settings.

Such problems cannot be avoided reliably so everybody who uses Direct
KS clients must take care about that.

Regards,
Eugene

******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/

Other related posts: