Xeno-rat
|
Represents an unsigned mixer control. More...
Public Member Functions | |
override string | ToString () |
Returns a formatted string representation of the object, including the percentage value. | |
Public Member Functions inherited from NAudio.Mixer.MixerControl | |
override string | ToString () |
Returns a string representation of the object, including the Name and ControlType properties. | |
Protected Member Functions | |
override void | GetDetails (IntPtr pDetails) |
Retrieves details of the mixer control and populates the unsignedDetails array. | |
Protected Member Functions inherited from NAudio.Mixer.MixerControl | |
void | GetControlDetails () |
Retrieves details of the mixer control. | |
void | GetDetails (IntPtr pDetails) |
Retrieves the details using the provided pointer to details. | |
Properties | |
uint | Value [get, set] |
The control value. | |
UInt32 | MinValue [get] |
The control's minimum value. | |
UInt32 | MaxValue [get] |
The control's maximum value. | |
double | Percent [get, set] |
Value of the control represented as a percentage. | |
Properties inherited from NAudio.Mixer.MixerControl | |
String | Name [get] |
Mixer control name. | |
MixerControlType | ControlType [get] |
Mixer control type. | |
bool | IsBoolean [get] |
Is this a boolean control. | |
bool | IsListText [get] |
True if this is a list text control. | |
bool | IsSigned [get] |
True if this is a signed control. | |
bool | IsUnsigned [get] |
True if this is an unsigned control. | |
bool | IsCustom [get] |
True if this is a custom control. | |
Private Attributes | |
MixerInterop.MIXERCONTROLDETAILS_UNSIGNED[] | unsignedDetails |
Additional Inherited Members | |
Static Public Member Functions inherited from NAudio.Mixer.MixerControl | |
static IList< MixerControl > | GetMixerControls (IntPtr mixerHandle, MixerLine mixerLine, MixerFlags mixerHandleType) |
Retrieves the mixer controls associated with the specified mixer line. | |
static MixerControl | GetMixerControl (IntPtr mixerHandle, int nLineId, int controlId, int nChannels, MixerFlags mixerFlags) |
Retrieves the specified mixer control. | |
Protected Attributes inherited from NAudio.Mixer.MixerControl | |
IntPtr | mixerHandle |
Mixer Handle. | |
int | nChannels |
Number of Channels. | |
MixerFlags | mixerHandleType |
Mixer Handle Type. | |
Represents an unsigned mixer control.
|
inlineprotected |
Retrieves details of the mixer control and populates the unsignedDetails array.
pDetails | A pointer to the details of the mixer control. |
ArgumentNullException | Thrown when the pointer to details is null. |
This method retrieves the details of the mixer control using the provided pointer pDetails . It populates the unsignedDetails array with the retrieved details for each channel.
|
inline |
Returns a formatted string representation of the object, including the percentage value.
|
private |
|
get |
The control's maximum value.
|
get |
The control's minimum value.
|
getset |
Value of the control represented as a percentage.
|
getset |
The control value.