[wdmaudiodev] Re: KS mode detection

  • From: Tim Roberts <timr@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Tue, 02 Sep 2008 10:01:52 -0700

Neetu Sand wrote:
> Actually my question is:
> If there is a way to detect if a call is coming from an application
> through DirectKS calls or through OS Audio APIs
> (WinMM/DirectSound/WASAPI)?
> Our driver wants to treat applications that open through DirectKS a
> little differently, that's why I want to know.

There is no obvious method.  The whole point of DirectKS is to allow an
application to use the driver exactly like the system APIs do.  There
may be something you can discern from the order of operations, but that
would make me nervous.

Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.


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


Other related posts: