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

Represents a mixer line (source or destination) More...

Collaboration diagram for NAudio.Mixer.MixerLine:

Public Member Functions

 MixerLine (IntPtr mixerHandle, int destinationIndex, MixerFlags mixerHandleType)
 Creates a new mixer destination.
 
 MixerLine (IntPtr mixerHandle, int destinationIndex, int sourceIndex, MixerFlags mixerHandleType)
 Creates a new Mixer Source For a Specified Source.
 
MixerLine GetSource (int sourceIndex)
 Retrieves the mixer line at the specified source index.
 
override string ToString ()
 Returns a formatted string representing the object's name, type description, number of controls, and ID.
 

Static Public Member Functions

static int GetMixerIdForWaveIn (int waveInDevice)
 Retrieves the mixer ID associated with the specified wave input device.
 

Properties

String Name [get]
 Mixer Line Name.
 
String ShortName [get]
 Mixer Line short name.
 
int LineId [get]
 The line ID.
 
MixerLineComponentType ComponentType [get]
 Component Type.
 
String TypeDescription [get]
 Mixer destination type description.
 
int Channels [get]
 Number of channels.
 
int SourceCount [get]
 Number of sources.
 
int ControlsCount [get]
 Number of controls.
 
bool IsActive [get]
 Is this destination active.
 
bool IsDisconnected [get]
 Is this destination disconnected.
 
bool IsSource [get]
 Is this destination a source.
 
IEnumerable< MixerControlControls [get]
 Enumerator for the controls on this Mixer Limne.
 
IEnumerable< MixerLineSources [get]
 Enumerator for the sources on this Mixer Line.
 
string TargetName [get]
 The name of the target output device.
 

Private Attributes

MixerInterop.MIXERLINE mixerLine
 
IntPtr mixerHandle
 
MixerFlags mixerHandleType
 

Detailed Description

Represents a mixer line (source or destination)

Constructor & Destructor Documentation

◆ MixerLine() [1/2]

NAudio.Mixer.MixerLine.MixerLine ( IntPtr mixerHandle,
int destinationIndex,
MixerFlags mixerHandleType )
inline

Creates a new mixer destination.

Parameters
mixerHandleMixer Handle
destinationIndexDestination Index
mixerHandleTypeMixer Handle Type
Here is the call graph for this function:
Here is the caller graph for this function:

◆ MixerLine() [2/2]

NAudio.Mixer.MixerLine.MixerLine ( IntPtr mixerHandle,
int destinationIndex,
int sourceIndex,
MixerFlags mixerHandleType )
inline

Creates a new Mixer Source For a Specified Source.

Parameters
mixerHandleMixer Handle
destinationIndexDestination Index
sourceIndexSource Index
mixerHandleTypeFlag indicating the meaning of mixerHandle
Here is the call graph for this function:

Member Function Documentation

◆ GetMixerIdForWaveIn()

static int NAudio.Mixer.MixerLine.GetMixerIdForWaveIn ( int waveInDevice)
inlinestatic

Retrieves the mixer ID associated with the specified wave input device.

Parameters
waveInDeviceThe identifier of the wave input device.
Returns
The mixer ID corresponding to the specified wave input device.
Exceptions
MmExceptionThrown when an error occurs while retrieving the mixer ID.
Here is the call graph for this function:

◆ GetSource()

MixerLine NAudio.Mixer.MixerLine.GetSource ( int sourceIndex)
inline

Retrieves the mixer line at the specified source index.

Parameters
sourceIndexThe index of the source to retrieve.
Returns
The mixer line at the specified sourceIndex .
Exceptions
ArgumentOutOfRangeExceptionThrown when sourceIndex is less than 0 or greater than or equal to the total source count.
Here is the call graph for this function:

◆ ToString()

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

Returns a formatted string representing the object's name, type description, number of controls, and ID.

Returns
A string containing the object's name, type description, number of controls, and ID.

Member Data Documentation

◆ mixerHandle

IntPtr NAudio.Mixer.MixerLine.mixerHandle
private

◆ mixerHandleType

MixerFlags NAudio.Mixer.MixerLine.mixerHandleType
private

◆ mixerLine

MixerInterop.MIXERLINE NAudio.Mixer.MixerLine.mixerLine
private

Property Documentation

◆ Channels

int NAudio.Mixer.MixerLine.Channels
get

Number of channels.

◆ ComponentType

MixerLineComponentType NAudio.Mixer.MixerLine.ComponentType
get

Component Type.

◆ Controls

IEnumerable<MixerControl> NAudio.Mixer.MixerLine.Controls
get

Enumerator for the controls on this Mixer Limne.

◆ ControlsCount

int NAudio.Mixer.MixerLine.ControlsCount
get

Number of controls.

◆ IsActive

bool NAudio.Mixer.MixerLine.IsActive
get

Is this destination active.

◆ IsDisconnected

bool NAudio.Mixer.MixerLine.IsDisconnected
get

Is this destination disconnected.

◆ IsSource

bool NAudio.Mixer.MixerLine.IsSource
get

Is this destination a source.

◆ LineId

int NAudio.Mixer.MixerLine.LineId
get

The line ID.

◆ Name

String NAudio.Mixer.MixerLine.Name
get

Mixer Line Name.

◆ ShortName

String NAudio.Mixer.MixerLine.ShortName
get

Mixer Line short name.

◆ SourceCount

int NAudio.Mixer.MixerLine.SourceCount
get

Number of sources.

◆ Sources

IEnumerable<MixerLine> NAudio.Mixer.MixerLine.Sources
get

Enumerator for the sources on this Mixer Line.

◆ TargetName

string NAudio.Mixer.MixerLine.TargetName
get

The name of the target output device.

◆ TypeDescription

String NAudio.Mixer.MixerLine.TypeDescription
get

Mixer destination type description.


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