Assembly: MixerProNET (in MixerProNET.dll) Version: 2.1.0.27196 (2.1.0)
Syntax
| C# |
|---|
public class CControl |
| Visual Basic |
|---|
Public Class CControl |
| Visual C++ |
|---|
public ref class CControl |
Remarks
In order to simplify the use the Core Audio APIs, CCoreAudio represents every single control through this class, whether the control represents a volume fader, a mute state or even a peak meter.
This way you can use this class to access a control regardless of its native Core Audio nature.
Core Audio can expose several different classes representing the same end-user experience. For example, depending on how you access the volume control for a particular line, Core Audio may return a completely different and unique type of object, ranging from an AudioVolumeLevel, SimpleAudioVolume, AudioEndpointVolume, AudioMute, etc...
Fortunately, you don't have to worry about these complexities since, as explained before, MixerProNET provides an accessible abstraction layer to obfuscate these complexities and provide a simple way to query and manipulate the different controls in all mixers and sessions.