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

Classes

class  BooleanMixerControl
 Boolean mixer control. More...
 
class  CustomMixerControl
 Custom Mixer control. More...
 
class  ListTextMixerControl
 List text mixer control. More...
 
class  Mixer
 Represents a Windows mixer device. More...
 
class  MixerControl
 Represents a mixer control. More...
 
class  MixerInterop
 
class  MixerLine
 Represents a mixer line (source or destination) More...
 
class  SignedMixerControl
 Represents a signed mixer control. More...
 
class  UnsignedMixerControl
 Represents an unsigned mixer control. More...
 

Enumerations

enum  MixerControlType {
  Custom = (MixerControlClass.Custom | MixerControlUnits.Custom) , BooleanMeter = (MixerControlClass.Meter | MixerControlSubclass.MeterPolled | MixerControlUnits.Boolean) , SignedMeter = (MixerControlClass.Meter | MixerControlSubclass.MeterPolled | MixerControlUnits.Signed) , PeakMeter = (SignedMeter + 1) ,
  UnsignedMeter = (MixerControlClass.Meter | MixerControlSubclass.MeterPolled | MixerControlUnits.Unsigned) , Boolean = (MixerControlClass.Switch | MixerControlSubclass.SwitchBoolean | MixerControlUnits.Boolean) , OnOff = (Boolean + 1) , Mute = (Boolean + 2) ,
  Mono = (Boolean + 3) , Loudness = (Boolean + 4) , StereoEnhance = (Boolean + 5) , Button = (MixerControlClass.Switch | MixerControlSubclass.SwitchButton | MixerControlUnits.Boolean) ,
  Decibels = (MixerControlClass.Number | MixerControlUnits.Decibels) , Signed = (MixerControlClass.Number | MixerControlUnits.Signed) , Unsigned = (MixerControlClass.Number | MixerControlUnits.Unsigned) , Percent = (MixerControlClass.Number | MixerControlUnits.Percent) ,
  Slider = (MixerControlClass.Slider | MixerControlUnits.Signed) , Pan = (Slider + 1) , QSoundPan = (Slider + 2) , Fader = (MixerControlClass.Fader | MixerControlUnits.Unsigned) ,
  Volume = (Fader + 1) , Bass = (Fader + 2) , Treble = (Fader + 3) , Equalizer = (Fader + 4) ,
  SingleSelect = (MixerControlClass.List | MixerControlSubclass.ListSingle | MixerControlUnits.Boolean) , Mux = (SingleSelect + 1) , MultipleSelect = (MixerControlClass.List | MixerControlSubclass.ListMultiple | MixerControlUnits.Boolean) , Mixer = (MultipleSelect + 1) ,
  MicroTime = (MixerControlClass.Time | MixerControlSubclass.TimeMicrosecs | MixerControlUnits.Unsigned) , MilliTime = (MixerControlClass.Time | MixerControlSubclass.TimeMillisecs | MixerControlUnits.Unsigned)
}
 Mixer control types. More...
 
enum  MixerFlags {
  Handle = unchecked ( (int) 0x80000000 ) , Mixer = 0 , MixerHandle = Mixer | Handle , WaveOut = 0x10000000 ,
  WaveOutHandle = WaveOut | Handle , WaveIn = 0x20000000 , WaveInHandle = WaveIn | Handle , MidiOut = 0x30000000 ,
  MidiOutHandle = MidiOut | Handle , MidiIn = 0x40000000 , MidiInHandle = MidiIn | Handle , Aux = 0x50000000 ,
  Value = 0 , ListText = 1 , QueryMask = 0xF , All = 0 ,
  OneById = 1 , OneByType = 2 , GetLineInfoOfDestination = 0 , GetLineInfoOfSource = 1 ,
  GetLineInfoOfLineId = 2 , GetLineInfoOfComponentType = 3 , GetLineInfoOfTargetType = 4 , GetLineInfoOfQueryMask = 0xF
}
 Mixer Interop Flags. More...
 
enum  MixerLineComponentType {
  DestinationUndefined = 0 , DestinationDigital = 1 , DestinationLine = 2 , DestinationMonitor = 3 ,
  DestinationSpeakers = 4 , DestinationHeadphones = 5 , DestinationTelephone = 6 , DestinationWaveIn = 7 ,
  DestinationVoiceIn = 8 , SourceUndefined = 0x1000 , SourceDigital = 0x1001 , SourceLine = 0x1002 ,
  SourceMicrophone = 0x1003 , SourceSynthesizer = 0x1004 , SourceCompactDisc = 0x1005 , SourceTelephone = 0x1006 ,
  SourcePcSpeaker = 0x1007 , SourceWaveOut = 0x1008 , SourceAuxiliary = 0x1009 , SourceAnalog = 0x100A
}
 Mixer Line Component type enumeration. More...
 

Enumeration Type Documentation

◆ MixerControlType

Mixer control types.

Enumerator
Custom 

Custom.

BooleanMeter 

Boolean meter.

SignedMeter 

Signed meter.

PeakMeter 

Peak meter.

UnsignedMeter 

Unsigned meter.

Boolean 

Boolean.

OnOff 

On Off.

Mute 

Mute.

Mono 

Mono.

Loudness 

Loudness.

StereoEnhance 

Stereo Enhance.

Button 

Button.

Decibels 

Decibels.

Signed 

Signed.

Unsigned 

Unsigned.

Percent 

Percent.

Slider 

Slider.

Pan 

Pan.

QSoundPan 

Q-sound pan.

Fader 

Fader.

Volume 

Volume.

Bass 

Bass.

Treble 

Treble.

Equalizer 

Equaliser.

SingleSelect 

Single Select.

Mux 

Mux.

MultipleSelect 

Multiple select.

Mixer 

Mixer.

MicroTime 

Micro time.

MilliTime 

Milli time.

◆ MixerFlags

Mixer Interop Flags.

Enumerator
Handle 

MIXER_OBJECTF_HANDLE = 0x80000000;.

Mixer 

MIXER_OBJECTF_MIXER = 0x00000000;.

MixerHandle 

MIXER_OBJECTF_HMIXER.

WaveOut 

MIXER_OBJECTF_WAVEOUT.

WaveOutHandle 

MIXER_OBJECTF_HWAVEOUT.

WaveIn 

MIXER_OBJECTF_WAVEIN.

WaveInHandle 

MIXER_OBJECTF_HWAVEIN.

MidiOut 

MIXER_OBJECTF_MIDIOUT.

MidiOutHandle 

MIXER_OBJECTF_HMIDIOUT.

MidiIn 

MIXER_OBJECTF_MIDIIN.

MidiInHandle 

MIXER_OBJECTF_HMIDIIN.

Aux 

MIXER_OBJECTF_AUX.

Value 

MIXER_GETCONTROLDETAILSF_VALUE = 0x00000000; MIXER_SETCONTROLDETAILSF_VALUE = 0x00000000;.

ListText 

MIXER_GETCONTROLDETAILSF_LISTTEXT = 0x00000001; MIXER_SETCONTROLDETAILSF_LISTTEXT = 0x00000001;.

QueryMask 

MIXER_GETCONTROLDETAILSF_QUERYMASK = 0x0000000F; MIXER_SETCONTROLDETAILSF_QUERYMASK = 0x0000000F; MIXER_GETLINECONTROLSF_QUERYMASK = 0x0000000F;.

All 

MIXER_GETLINECONTROLSF_ALL = 0x00000000;.

OneById 

MIXER_GETLINECONTROLSF_ONEBYID = 0x00000001;.

OneByType 

MIXER_GETLINECONTROLSF_ONEBYTYPE = 0x00000002;.

GetLineInfoOfDestination 

MIXER_GETLINEINFOF_DESTINATION = 0x00000000;.

GetLineInfoOfSource 

MIXER_GETLINEINFOF_SOURCE = 0x00000001;.

GetLineInfoOfLineId 

MIXER_GETLINEINFOF_LINEID = 0x00000002;.

GetLineInfoOfComponentType 

MIXER_GETLINEINFOF_COMPONENTTYPE = 0x00000003;.

GetLineInfoOfTargetType 

MIXER_GETLINEINFOF_TARGETTYPE = 0x00000004;.

GetLineInfoOfQueryMask 

MIXER_GETLINEINFOF_QUERYMASK = 0x0000000F;.

◆ MixerLineComponentType

Mixer Line Component type enumeration.

Enumerator
DestinationUndefined 

Audio line is a destination that cannot be defined by one of the standard component types. A mixer device is required to use this component type for line component types that have not been defined by Microsoft Corporation. MIXERLINE_COMPONENTTYPE_DST_UNDEFINED.

DestinationDigital 

Audio line is a digital destination (for example, digital input to a DAT or CD audio device). MIXERLINE_COMPONENTTYPE_DST_DIGITAL.

DestinationLine 

Audio line is a line level destination (for example, line level input from a CD audio device) that will be the final recording source for the analog-to-digital converter (ADC). Because most audio cards for personal computers provide some sort of gain for the recording audio source line, the mixer device will use the MIXERLINE_COMPONENTTYPE_DST_WAVEIN type. MIXERLINE_COMPONENTTYPE_DST_LINE.

DestinationMonitor 

Audio line is a destination used for a monitor. MIXERLINE_COMPONENTTYPE_DST_MONITOR.

DestinationSpeakers 

Audio line is an adjustable (gain and/or attenuation) destination intended to drive speakers. This is the typical component type for the audio output of audio cards for personal computers. MIXERLINE_COMPONENTTYPE_DST_SPEAKERS.

DestinationHeadphones 

Audio line is an adjustable (gain and/or attenuation) destination intended to drive headphones. Most audio cards use the same audio destination line for speakers and headphones, in which case the mixer device simply uses the MIXERLINE_COMPONENTTYPE_DST_SPEAKERS type. MIXERLINE_COMPONENTTYPE_DST_HEADPHONES.

DestinationTelephone 

Audio line is a destination that will be routed to a telephone line. MIXERLINE_COMPONENTTYPE_DST_TELEPHONE.

DestinationWaveIn 

Audio line is a destination that will be the final recording source for the waveform-audio input (ADC). This line typically provides some sort of gain or attenuation. This is the typical component type for the recording line of most audio cards for personal computers. MIXERLINE_COMPONENTTYPE_DST_WAVEIN.

DestinationVoiceIn 

Audio line is a destination that will be the final recording source for voice input. This component type is exactly like MIXERLINE_COMPONENTTYPE_DST_WAVEIN but is intended specifically for settings used during voice recording/recognition. Support for this line is optional for a mixer device. Many mixer devices provide only MIXERLINE_COMPONENTTYPE_DST_WAVEIN. MIXERLINE_COMPONENTTYPE_DST_VOICEIN.

SourceUndefined 

Audio line is a source that cannot be defined by one of the standard component types. A mixer device is required to use this component type for line component types that have not been defined by Microsoft Corporation. MIXERLINE_COMPONENTTYPE_SRC_UNDEFINED.

SourceDigital 

Audio line is a digital source (for example, digital output from a DAT or audio CD). MIXERLINE_COMPONENTTYPE_SRC_DIGITAL.

SourceLine 

Audio line is a line-level source (for example, line-level input from an external stereo) that can be used as an optional recording source. Because most audio cards for personal computers provide some sort of gain for the recording source line, the mixer device will use the MIXERLINE_COMPONENTTYPE_SRC_AUXILIARY type. MIXERLINE_COMPONENTTYPE_SRC_LINE.

SourceMicrophone 

Audio line is a microphone recording source. Most audio cards for personal computers provide at least two types of recording sources: an auxiliary audio line and microphone input. A microphone audio line typically provides some sort of gain. Audio cards that use a single input for use with a microphone or auxiliary audio line should use the MIXERLINE_COMPONENTTYPE_SRC_MICROPHONE component type. MIXERLINE_COMPONENTTYPE_SRC_MICROPHONE.

SourceSynthesizer 

Audio line is a source originating from the output of an internal synthesizer. Most audio cards for personal computers provide some sort of MIDI synthesizer (for example, an Adlib®-compatible or OPL/3 FM synthesizer). MIXERLINE_COMPONENTTYPE_SRC_SYNTHESIZER.

SourceCompactDisc 

Audio line is a source originating from the output of an internal audio CD. This component type is provided for audio cards that provide an audio source line intended to be connected to an audio CD (or CD-ROM playing an audio CD). MIXERLINE_COMPONENTTYPE_SRC_COMPACTDISC.

SourceTelephone 

Audio line is a source originating from an incoming telephone line. MIXERLINE_COMPONENTTYPE_SRC_TELEPHONE.

SourcePcSpeaker 

Audio line is a source originating from personal computer speaker. Several audio cards for personal computers provide the ability to mix what would typically be played on the internal speaker with the output of an audio card. Some audio cards support the ability to use this output as a recording source. MIXERLINE_COMPONENTTYPE_SRC_PCSPEAKER.

SourceWaveOut 

Audio line is a source originating from the waveform-audio output digital-to-analog converter (DAC). Most audio cards for personal computers provide this component type as a source to the MIXERLINE_COMPONENTTYPE_DST_SPEAKERS destination. Some cards also allow this source to be routed to the MIXERLINE_COMPONENTTYPE_DST_WAVEIN destination. MIXERLINE_COMPONENTTYPE_SRC_WAVEOUT.

SourceAuxiliary 

Audio line is a source originating from the auxiliary audio line. This line type is intended as a source with gain or attenuation that can be routed to the MIXERLINE_COMPONENTTYPE_DST_SPEAKERS destination and/or recorded from the MIXERLINE_COMPONENTTYPE_DST_WAVEIN destination. MIXERLINE_COMPONENTTYPE_SRC_AUXILIARY.

SourceAnalog 

Audio line is an analog source (for example, analog output from a video-cassette tape). MIXERLINE_COMPONENTTYPE_SRC_ANALOG.