[wdmaudiodev] Re: Retrieving WAVEFORMATEX from IAudioSessionControl

  • From: Matthew van Eerde <Matthew.van.Eerde@xxxxxxxxxxxxx>
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Mon, 15 Dec 2014 16:58:23 +0000

Conceptually, an audio session (IAudioSessionControl) is an (app, endpoint) 
pair.

An app can have zero or more active streams (IAudioClient) on a given endpoint 
at any given time.

The stream has an associated WAVEFORMATEX (what was passed to 
IAudioClient::Initialize) but there’s no way to retrieve it from the 
IAudioClient.

There is also no way to get the list of active IAudioClients from an 
IAudioSessionControl.

What is the larger problem you’re trying to solve?

From: wdmaudiodev-bounce@xxxxxxxxxxxxx 
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Dadi
Sent: Sunday, December 14, 2014 11:21 AM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Retrieving WAVEFORMATEX from IAudioSessionControl

Hi,
Is it possible to retrieve the audio session format (WAVEFORMATEX) from a given 
pointer to an active IAudioSessionControl?
Thank you,
Dadi

Other related posts: