Method | Description | |
---|---|---|
Destroy ( ) : void |
Destroys this instance.
|
|
GetAudioDeviceInfo ( int audioDeviceNumber ) : |
||
GetAudioDeviceInfos ( ) : DeviceInformationCollection | ||
GetDeviceNames ( ) : string[] |
Gets the connected device names.
|
|
GetLabel ( ) : string |
Gets the label of the audio device.
|
|
Initialize ( AudioCaptureInitializeArgs captureArgs ) : void |
Initializes the audio capture provider.
|
|
Start ( ) : bool |
Starts the audio capture.
|
|
Stop ( ) : void |
Stops the audio capture.
|
Method | Description | |
---|---|---|
FloatBytesToShortBytes ( byte floatData, int floatIndex, byte shortData, int shortIndex, int sampleCount ) : void | ||
NAudioCaptureProvider ( ) : FM | ||
StartWasapi ( ) : void | ||
StopWasapi ( ) : void | ||
WasapiIn_DataAvailable ( object sender, NAudio.Wave.WaveInEventArgs e ) : void |
public static GetAudioDeviceInfo ( int audioDeviceNumber ) : |
||
audioDeviceNumber | int | |
return |
public static GetAudioDeviceInfos ( ) : DeviceInformationCollection | ||
return | DeviceInformationCollection |
public Initialize ( AudioCaptureInitializeArgs captureArgs ) : void | ||
captureArgs | AudioCaptureInitializeArgs | The arguments. |
return | void |