[wdmaudiodev] Re: wasapi audioclientproperties

  • From: Matthew van Eerde <Matthew.van.Eerde@xxxxxxxxxxxxx>
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Tue, 10 Jun 2014 21:27:19 +0000

I should also mention:

It's a client error to specify AudioClientProperties.Options = 
AUDCLNT_STREAMOPTIONS_RAW unless the audio endpoint in question has a 
System.Devices.AudioDevice.RawProcessingSupported property which is set to true.

The MediaCapture API also allows raw-mode streaming via the 
MediaCaptureInitializationSettings.AudioProcessing property. The same caveat 
about checking the .RawProcessingSupported property first applies.

MediaCapture sample: 
http://code.msdn.microsoft.com/windowsapps/Media-Capture-Sample-adf87622

WASAPI sample: 
http://code.msdn.microsoft.com/windowsapps/Windows-Audio-Session-22dcab6b

Other related posts: