[wdmaudiodev] Re: Fwd: Exclusive mode in Vista

  • From: "T C" <ct0714@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Mon, 2 Jul 2007 17:33:25 +0800

Dear Frank,

Thanks for your reply.

That means if an AP needs implement WASAPI in order to stream PCM audio in
exclusive mode.
Therefore have to implement an audio renderer to support exclusive mode
under DierctShow architecture :(

Would MicroSoft consider to have a way to enable exclusive mode thru
DirectShow audio renderer's interface?

Regards,
Cyndi


2007/6/28, Frank Yerrace <Frank.Yerrace@xxxxxxxxxxxxx>:

 This exclusive mode is not directly available to APIs other than WASAPI.
However, the audio system might automatically uses exclusive mode if the
application attempts to use an encoded format (and if the output supports
the format, and if the Sound control panel settings allow it).



Frank Yerrace

Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no
rights.



*From:* wdmaudiodev-bounce@xxxxxxxxxxxxx [mailto:
wdmaudiodev-bounce@xxxxxxxxxxxxx] *On Behalf Of *T C
*Sent:* Wednesday, June 27, 2007 1:23 AM
*To:* wdmaudiodev@xxxxxxxxxxxxx
*Subject:* [wdmaudiodev] Fwd: Exclusive mode in Vista



Dear all,



I have a question about exclusive mode in Vista.



In Vista, audio could be streaming in exclusive mode thru IAudioClient.

Is it the only to use Core Audio API to enable exclusive mode?

Or it could be enabled through higher-level API,

such as DirectSound or even we could enabled it through Directshow audio
renderer's interface?



I am wondering if exclusive mode could be enabled through IDirectSound's
SetCooperativeLevel(hwnd, DSSCL_WRITEPRIMARY); ?



Thanks for your kind help.



Regards,

Cyndi





Other related posts: