IXAudio2MasteringVoice interface (xaudio2.h)

A mastering voice is used to represent the audio output device.

Data buffers cannot be submitted directly to mastering voices, but data submitted to other types of voices must be directed to a mastering voice to be heard.

IXAudio2MasteringVoice inherits directly from IXAudio2Voice, but does not implement methods specific to mastering voices. The interface type exists solely because some of the base class methods are implemented differently for mastering voices. Having a separate type for these voices helps client code to distinguish the different voice types and to benefit from C++ type safety.

Inheritance

The IXAudio2MasteringVoice interface inherits from IXAudio2Voice. IXAudio2MasteringVoice also has these types of members:

Methods

The IXAudio2MasteringVoice interface has these methods.

 
IXAudio2MasteringVoice::GetChannelMask

Returns the channel mask for this voice.

Remarks

Platform Requirements

Windows 10 (XAudio2.9); Windows 8, Windows Phone 8 (XAudio 2.8); DirectX SDK (XAudio 2.7)

Requirements

Requirement Value
Target Platform Windows
Header xaudio2.h

See also

IXAudio2Voice

XAudio2 Interfaces