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

Represents a signed mixer control. More...

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

Public Member Functions

override string ToString ()
 Returns a formatted string representing the object's base string and 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 the details of the mixer control and stores them in the signedDetails field.
 
- 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

int Value [get, set]
 The value of the control.
 
int MinValue [get]
 Minimum value for this control.
 
int MaxValue [get]
 Maximum value for this control.
 
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_SIGNED signedDetails
 

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 a signed mixer control.

Member Function Documentation

◆ GetDetails()

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

Retrieves the details of the mixer control and stores them in the signedDetails field.

Parameters
pDetailsA pointer to the details of the mixer control.

◆ ToString()

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

Returns a formatted string representing the object's base string and percentage value.

Returns
A string containing the base string and percentage value formatted with a percentage symbol.

Member Data Documentation

◆ signedDetails

MixerInterop.MIXERCONTROLDETAILS_SIGNED NAudio.Mixer.SignedMixerControl.signedDetails
private

Property Documentation

◆ MaxValue

int NAudio.Mixer.SignedMixerControl.MaxValue
get

Maximum value for this control.

◆ MinValue

int NAudio.Mixer.SignedMixerControl.MinValue
get

Minimum value for this control.

◆ Percent

double NAudio.Mixer.SignedMixerControl.Percent
getset

Value of the control represented as a percentage.

◆ Value

int NAudio.Mixer.SignedMixerControl.Value
getset

The value of the control.


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