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

Boolean mixer control. More...

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

Protected Member Functions

override void GetDetails (IntPtr pDetails)
 Retrieves details from the specified memory location and stores them in the boolDetails 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

bool Value [get, set]
 The current value of the control.
 
- 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_BOOLEAN boolDetails
 

Additional Inherited Members

- Public Member Functions inherited from NAudio.Mixer.MixerControl
override string ToString ()
 Returns a string representation of the object, including the Name and ControlType properties.
 
- 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

Boolean mixer control.

Member Function Documentation

◆ GetDetails()

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

Retrieves details from the specified memory location and stores them in the boolDetails field.

Parameters
pDetailsA pointer to the memory location containing the details to be retrieved.
Exceptions
ArgumentNullExceptionThrown when the pDetails is null.

This method uses the Marshal.PtrToStructure method to retrieve details from the specified memory location and stores them in the boolDetails field.

Member Data Documentation

◆ boolDetails

MixerInterop.MIXERCONTROLDETAILS_BOOLEAN NAudio.Mixer.BooleanMixerControl.boolDetails
private

Property Documentation

◆ Value

bool NAudio.Mixer.BooleanMixerControl.Value
getset

The current value of the control.


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