The IAudioStreamVolume interface enables a client to control and monitor the volume levels for all of the channels in an audio stream. The client obtains a reference to the IAudioStreamVolume interface on a stream object by calling the IAudioClient::GetService method with parameter riid set to REFIID IID_IAudioStreamVolume.
The effective volume level of any channel, as heard at the speakers, is controlled by clients through the methods in the IAudioStreamVolume interface.
The effective volume level is a value in the range 0.0 (silence) to 1.0 (no attenuation).
When releasing an IAudioStreamVolume interface instance, the client must call the interface’s Release method from the same thread as the call to IAudioClient::GetService that created the object.
The IAudioStreamVolume interface controls the channel volumes in a shared-mode audio stream. Xbox One does not support exclusive-mode streams.
interface IAudioStreamVolume : public IUnknown
Header: Declared in audioclient.h.
Library: Use mmdevapi.lib.