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

Represents a Windows mixer device. More...

Collaboration diagram for NAudio.Mixer.Mixer:

Public Member Functions

 Mixer (int mixerIndex)
 Connects to the specified mixer.
 
MixerLine GetDestination (int destinationIndex)
 Retrieves the destination mixer line at the specified index.
 

Properties

static int NumberOfDevices [get]
 The number of mixer devices available.
 
int DestinationCount [get]
 The number of destinations this mixer supports.
 
String Name [get]
 The name of this mixer device.
 
Manufacturers Manufacturer [get]
 The manufacturer code for this mixer device.
 
int ProductID [get]
 The product identifier code for this mixer device.
 
IEnumerable< MixerLineDestinations [get]
 A way to enumerate the destinations.
 
static IEnumerable< MixerMixers [get]
 A way to enumerate all available devices.
 

Private Attributes

MixerInterop.MIXERCAPS caps
 
IntPtr mixerHandle
 
MixerFlags mixerHandleType
 

Detailed Description

Represents a Windows mixer device.

Constructor & Destructor Documentation

◆ Mixer()

NAudio.Mixer.Mixer.Mixer ( int mixerIndex)
inline

Connects to the specified mixer.

Parameters
mixerIndexThe index of the mixer to use. This should be between zero and NumberOfDevices - 1
Here is the call graph for this function:

Member Function Documentation

◆ GetDestination()

MixerLine NAudio.Mixer.Mixer.GetDestination ( int destinationIndex)
inline

Retrieves the destination mixer line at the specified index.

Parameters
destinationIndexThe index of the destination mixer line to retrieve.
Returns
The destination mixer line at the specified destinationIndex .
Exceptions
ArgumentOutOfRangeExceptionThrown when destinationIndex is less than 0 or greater than or equal to the total number of destinations.

Member Data Documentation

◆ caps

MixerInterop.MIXERCAPS NAudio.Mixer.Mixer.caps
private

◆ mixerHandle

IntPtr NAudio.Mixer.Mixer.mixerHandle
private

◆ mixerHandleType

MixerFlags NAudio.Mixer.Mixer.mixerHandleType
private

Property Documentation

◆ DestinationCount

int NAudio.Mixer.Mixer.DestinationCount
get

The number of destinations this mixer supports.

◆ Destinations

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

A way to enumerate the destinations.

◆ Manufacturer

Manufacturers NAudio.Mixer.Mixer.Manufacturer
get

The manufacturer code for this mixer device.

◆ Mixers

IEnumerable<Mixer> NAudio.Mixer.Mixer.Mixers
staticget

A way to enumerate all available devices.

◆ Name

String NAudio.Mixer.Mixer.Name
get

The name of this mixer device.

◆ NumberOfDevices

int NAudio.Mixer.Mixer.NumberOfDevices
staticget

The number of mixer devices available.


◆ ProductID

int NAudio.Mixer.Mixer.ProductID
get

The product identifier code for this mixer device.


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