Xeno-rat
Loading...
Searching...
No Matches
NAudio.Mixer.UnsignedMixerControl Class Reference

Represents an unsigned mixer control. More...

Inheritance diagram for NAudio.Mixer.UnsignedMixerControl:
Collaboration diagram for NAudio.Mixer.UnsignedMixerControl:

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< MixerControlGetMixerControls (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.
 

Detailed Description

Represents an unsigned mixer control.

Member Function Documentation

◆ GetDetails()

override void NAudio.Mixer.UnsignedMixerControl.GetDetails ( IntPtr pDetails)
inlineprotected

Retrieves details of the mixer control and populates the unsignedDetails array.

Parameters
pDetailsA pointer to the details of the mixer control.
Exceptions
ArgumentNullExceptionThrown 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.

◆ ToString()

override string NAudio.Mixer.UnsignedMixerControl.ToString ( )
inline

Returns a formatted string representation of the object, including the percentage value.

Returns
A string containing the base string representation followed by the percentage value.

Member Data Documentation

◆ unsignedDetails

MixerInterop.MIXERCONTROLDETAILS_UNSIGNED [] NAudio.Mixer.UnsignedMixerControl.unsignedDetails
private

Property Documentation

◆ MaxValue

UInt32 NAudio.Mixer.UnsignedMixerControl.MaxValue
get

The control's maximum value.

◆ MinValue

UInt32 NAudio.Mixer.UnsignedMixerControl.MinValue
get

The control's minimum value.

◆ Percent

double NAudio.Mixer.UnsignedMixerControl.Percent
getset

Value of the control represented as a percentage.

◆ Value

uint NAudio.Mixer.UnsignedMixerControl.Value
getset

The control value.


The documentation for this class was generated from the following file: