bool IsMaster { get; set; }

robot_2Generated
code_blocksInput

Description

The IsMaster property of the Mixer class indicates whether the mixer is the default master mixer. The master mixer is responsible for handling all sounds that do not have a specific mixer assigned to them. This property is useful for determining if a mixer is the primary one in the audio system.

Usage

Use the IsMaster property to check if a mixer instance is the master mixer. This can be useful when managing audio routing and ensuring that sounds are processed by the correct mixer.

Example

// Example of checking if a mixer is the master mixer
Mixer myMixer = new Mixer();

if (myMixer.IsMaster)
{
    // Perform actions specific to the master mixer
    // For example, adjusting global audio settings
}