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.
The IXAudio2MasteringVoice interface inherits from IXAudio2Voice. IXAudio2MasteringVoice also has these types of members:
The IXAudio2MasteringVoice interface has these methods.
IXAudio2MasteringVoice::GetChannelMask Returns the channel mask for this voice. |
Requirement | Value |
---|---|
Target Platform | Windows |
Header | xaudio2.h |