|
static Int32 | mixerGetNumDevs () |
| Retrieves the number of multimedia mixer devices present in the system.
|
|
static MmResult | mixerOpen (out IntPtr hMixer, int uMxId, IntPtr dwCallback, IntPtr dwInstance, MixerFlags dwOpenFlags) |
| Opens a specified mixer device and returns a handle to the device.
|
|
static MmResult | mixerClose (IntPtr hMixer) |
| Closes the specified mixer device.
|
|
static MmResult | mixerGetControlDetails (IntPtr hMixer, ref MIXERCONTROLDETAILS mixerControlDetails, MixerFlags dwDetailsFlags) |
| Retrieves details about a specified audio mixer control.
|
|
static MmResult | mixerGetDevCaps (IntPtr nMixerID, ref MIXERCAPS mixerCaps, Int32 mixerCapsSize) |
| Retrieves the capabilities of a specified mixer device.
|
|
static MmResult | mixerGetID (IntPtr hMixer, out Int32 mixerID, MixerFlags dwMixerIDFlags) |
| Retrieves the identifier of a mixer device associated with the specified mixer handle.
|
|
static MmResult | mixerGetLineControls (IntPtr hMixer, ref MIXERLINECONTROLS mixerLineControls, MixerFlags dwControlFlags) |
| Retrieves the controls for a specified audio mixer line.
|
|
static MmResult | mixerGetLineInfo (IntPtr hMixer, ref MIXERLINE mixerLine, MixerFlags dwInfoFlags) |
| Retrieves information about a specified audio mixer line.
|
|
static MmResult | mixerMessage (IntPtr hMixer, UInt32 nMessage, IntPtr dwParam1, IntPtr dwParam2) |
| Sends a message to a specified mixer device.
|
|
static MmResult | mixerSetControlDetails (IntPtr hMixer, ref MIXERCONTROLDETAILS mixerControlDetails, MixerFlags dwDetailsFlags) |
| Sets the details of a specified audio mixer control.
|
|
◆ MIXERLINE_LINEF
Mixer Line Flags.
Enumerator |
---|
MIXERLINE_LINEF_ACTIVE | Audio line is active. An active line indicates that a signal is probably passing through the line.
|
MIXERLINE_LINEF_DISCONNECTED | Audio line is disconnected. A disconnected line's associated controls can still be modified, but the changes have no effect until the line is connected.
|
MIXERLINE_LINEF_SOURCE | Audio line is an audio source line associated with a single audio destination line. If this flag is not set, this line is an audio destination line associated with zero or more audio source lines.
|
◆ mixerClose()
static MmResult NAudio.Mixer.MixerInterop.mixerClose |
( |
IntPtr | hMixer | ) |
|
Closes the specified mixer device.
- Parameters
-
hMixer | Handle to the mixer device to be closed. |
- Returns
- An MmResult value indicating the result of the operation.
This method closes the specified mixer device identified by the handle hMixer .
◆ mixerGetControlDetails()
Retrieves details about a specified audio mixer control.
- Parameters
-
hMixer | Handle to the audio mixer device. |
mixerControlDetails | Reference to a MIXERCONTROLDETAILS structure that will receive the control details. |
dwDetailsFlags | Flags specifying the details to retrieve. |
- Returns
- An MmResult value indicating the success or failure of the operation.
This method retrieves details about a specified audio mixer control identified by the mixerControlDetails parameter. The details retrieved are determined by the flags specified in the dwDetailsFlags parameter.
◆ mixerGetDevCaps()
static MmResult NAudio.Mixer.MixerInterop.mixerGetDevCaps |
( |
IntPtr | nMixerID, |
|
|
ref MIXERCAPS | mixerCaps, |
|
|
Int32 | mixerCapsSize ) |
Retrieves the capabilities of a specified mixer device.
- Parameters
-
nMixerID | The handle to the mixer device to get the capabilities for. |
mixerCaps | A reference to a MIXERCAPS structure that will receive the capabilities of the mixer device. |
mixerCapsSize | The size of the mixerCaps structure in bytes. |
- Returns
- An MmResult value indicating the success or failure of the operation.
This method retrieves the capabilities of the specified mixer device identified by nMixerID . The capabilities are stored in the mixerCaps structure, and the size of the structure must be specified in mixerCapsSize . If successful, the method returns MmResult.MMSYSERR_NOERROR; otherwise, it returns an error code indicating the cause of failure.
◆ mixerGetID()
static MmResult NAudio.Mixer.MixerInterop.mixerGetID |
( |
IntPtr | hMixer, |
|
|
out Int32 | mixerID, |
|
|
MixerFlags | dwMixerIDFlags ) |
Retrieves the identifier of a mixer device associated with the specified mixer handle.
- Parameters
-
hMixer | The handle to the mixer device. |
mixerID | When this method returns, contains the identifier of the mixer device. |
dwMixerIDFlags | Flags specifying how the mixer identifier should be retrieved. |
- Returns
- An MmResult value indicating the success or failure of the operation.
◆ mixerGetLineControls()
Retrieves the controls for a specified audio mixer line.
- Parameters
-
hMixer | Handle to the mixer device. |
mixerLineControls | Reference to a MIXERLINECONTROLS structure that specifies the controls to retrieve. |
dwControlFlags | Flags that specify the control types to retrieve. |
- Returns
- An MmResult value indicating the result of the operation.
This method retrieves the controls for the specified audio mixer line using the specified handle to the mixer device. The controls to retrieve are specified by the mixerLineControls parameter, and the types of controls to retrieve are specified by the dwControlFlags parameter.
◆ mixerGetLineInfo()
Retrieves information about a specified audio mixer line.
- Parameters
-
hMixer | Handle to the mixer device. |
mixerLine | Reference to a MIXERLINE structure that will receive the line information. |
dwInfoFlags | Flags specifying the information to retrieve. |
- Returns
- Returns an MmResult value indicating the success or failure of the operation.
This method retrieves information about a specified audio mixer line identified by the mixerLine parameter. The information retrieved is determined by the dwInfoFlags parameter, which specifies the type of information to retrieve. The retrieved information is stored in the mixerLine structure.
◆ mixerGetNumDevs()
static Int32 NAudio.Mixer.MixerInterop.mixerGetNumDevs |
( |
| ) |
|
Retrieves the number of multimedia mixer devices present in the system.
- Returns
- The number of multimedia mixer devices present in the system.
◆ mixerMessage()
static MmResult NAudio.Mixer.MixerInterop.mixerMessage |
( |
IntPtr | hMixer, |
|
|
UInt32 | nMessage, |
|
|
IntPtr | dwParam1, |
|
|
IntPtr | dwParam2 ) |
Sends a message to a specified mixer device.
- Parameters
-
hMixer | Handle to the mixer device. |
nMessage | The message to send to the mixer device. |
dwParam1 | Message-specific parameter. |
dwParam2 | Message-specific parameter. |
- Returns
- The result of the message sent to the mixer device.
This method sends a message to the specified mixer device using the parameters provided.
◆ mixerOpen()
static MmResult NAudio.Mixer.MixerInterop.mixerOpen |
( |
out IntPtr | hMixer, |
|
|
int | uMxId, |
|
|
IntPtr | dwCallback, |
|
|
IntPtr | dwInstance, |
|
|
MixerFlags | dwOpenFlags ) |
Opens a specified mixer device and returns a handle to the device.
- Parameters
-
hMixer | When this method returns, contains a handle to the opened mixer device. |
uMxId | The identifier of the mixer device to open. |
dwCallback | Reserved; must be IntPtr.Zero. |
dwInstance | Reserved; must be IntPtr.Zero. |
dwOpenFlags | Flags that specify options for opening the mixer device. |
- Returns
- An MmResult value that specifies the result of the operation.
- Exceptions
-
MmException | Thrown when an error occurs while opening the mixer device. |
◆ mixerSetControlDetails()
Sets the details of a specified audio mixer control.
- Parameters
-
hMixer | Handle to the audio mixer device. |
mixerControlDetails | Reference to a MIXERCONTROLDETAILS structure that specifies the details to set. |
dwDetailsFlags | Flags that define the details to set. |
- Returns
- The result of the operation as an MmResult value.
◆ MAXPNAMELEN
const Int32 NAudio.Mixer.MixerInterop.MAXPNAMELEN = 32 |
|
static |
◆ MIXER_LONG_NAME_CHARS
const Int32 NAudio.Mixer.MixerInterop.MIXER_LONG_NAME_CHARS = 64 |
|
static |
◆ MIXER_SHORT_NAME_CHARS
const Int32 NAudio.Mixer.MixerInterop.MIXER_SHORT_NAME_CHARS = 16 |
|
static |
◆ MIXERCONTROL_CONTROLF_DISABLED
const UInt32 NAudio.Mixer.MixerInterop.MIXERCONTROL_CONTROLF_DISABLED = 0x80000000 |
|
static |
◆ MIXERCONTROL_CONTROLF_MULTIPLE
const UInt32 NAudio.Mixer.MixerInterop.MIXERCONTROL_CONTROLF_MULTIPLE = 0x00000002 |
|
static |
◆ MIXERCONTROL_CONTROLF_UNIFORM
const UInt32 NAudio.Mixer.MixerInterop.MIXERCONTROL_CONTROLF_UNIFORM = 0x00000001 |
|
static |
The documentation for this class was generated from the following file:
- /Users/sumansaurabh/Documents/my-startup/xeno-rat/Plugins/LiveMicrophone/lib/NAudio.WinMM/Mixer/MixerInterop.cs