Class MixerControl
Represents a mixer control
public abstract class MixerControl
- Inheritance
-
MixerControl
- Derived
- Inherited Members
Fields
mixerHandle
Mixer Handle
protected nint mixerHandle
Field Value
mixerHandleType
Mixer Handle Type
protected MixerFlags mixerHandleType
Field Value
nChannels
Number of Channels
protected int nChannels
Field Value
Properties
ControlType
Mixer control type
public MixerControlType ControlType { get; }
Property Value
IsBoolean
Is this a boolean control
public bool IsBoolean { get; }
Property Value
IsCustom
True if this is a custom control
public bool IsCustom { get; }
Property Value
IsListText
True if this is a list text control
public bool IsListText { get; }
Property Value
IsSigned
True if this is a signed control
public bool IsSigned { get; }
Property Value
IsUnsigned
True if this is an unsigned control
public bool IsUnsigned { get; }
Property Value
Name
Mixer control name
public string Name { get; }
Property Value
Methods
GetControlDetails()
Gets the control details
protected void GetControlDetails()
GetDetails(nint)
Gets the control details
protected abstract void GetDetails(nint pDetails)
Parameters
pDetailsnint
GetMixerControl(nint, int, int, int, MixerFlags)
Gets a specified Mixer Control
public static MixerControl GetMixerControl(nint mixerHandle, int nLineId, int controlId, int nChannels, MixerFlags mixerFlags)
Parameters
mixerHandlenintMixer Handle
nLineIdintLine ID
controlIdintControl ID
nChannelsintNumber of Channels
mixerFlagsMixerFlagsFlags to use (indicates the meaning of mixerHandle)
Returns
GetMixerControls(nint, MixerLine, MixerFlags)
Gets all the mixer controls
public static IList<MixerControl> GetMixerControls(nint mixerHandle, MixerLine mixerLine, MixerFlags mixerHandleType)
Parameters
mixerHandlenintMixer Handle
mixerLineMixerLineMixer Line
mixerHandleTypeMixerFlagsMixer Handle Type
Returns
ToString()
String representation for debug purposes
public override string ToString()