Xeno-rat
|
WASAPI Loopback Capture based on a contribution from "Pygmy" - http://naudio.codeplex.com/discussions/203605. More...
Public Member Functions | |
WasapiLoopbackCapture () | |
Initialises a new instance of the WASAPI capture class. | |
WasapiLoopbackCapture (MMDevice captureDevice) | |
Initialises a new instance of the WASAPI capture class. | |
Public Member Functions inherited from NAudio.CoreAudioApi.WasapiCapture | |
WasapiCapture () | |
Initialises a new instance of the WASAPI capture class. | |
WasapiCapture (MMDevice captureDevice) | |
Initialises a new instance of the WASAPI capture class. | |
WasapiCapture (MMDevice captureDevice, bool useEventSync) | |
Initializes a new instance of the WasapiCapture class. | |
WasapiCapture (MMDevice captureDevice, bool useEventSync, int audioBufferMillisecondsLength) | |
Initializes a new instance of the WasapiCapture class. | |
void | StartRecording () |
Starts the recording process. | |
void | StopRecording () |
Stops the recording if it is currently in progress. | |
void | Dispose () |
Disposes of the resources used for audio recording. | |
Static Public Member Functions | |
static MMDevice | GetDefaultLoopbackCaptureDevice () |
Retrieves the default loopback capture device for audio rendering. | |
Static Public Member Functions inherited from NAudio.CoreAudioApi.WasapiCapture | |
static MMDevice | GetDefaultCaptureDevice () |
Retrieves the default audio capture device. | |
Protected Member Functions | |
override AudioClientStreamFlags | GetAudioClientStreamFlags () |
Gets the audio client stream flags for loopback and base stream flags. | |
Additional Inherited Members | |
Properties inherited from NAudio.CoreAudioApi.WasapiCapture | |
AudioClientShareMode | ShareMode [get, set] |
Share Mode - set before calling StartRecording. | |
CaptureState | CaptureState [get] |
Current Capturing State. | |
virtual WaveFormat | WaveFormat [get, set] |
Capturing wave format. | |
Properties inherited from NAudio.Wave.IWaveIn | |
Events inherited from NAudio.CoreAudioApi.WasapiCapture | |
EventHandler< WaveInEventArgs > | DataAvailable |
Indicates recorded data is available. | |
EventHandler< StoppedEventArgs > | RecordingStopped |
Indicates that all recorded data has now been received. | |
Events inherited from NAudio.Wave.IWaveIn | |
EventHandler< WaveInEventArgs > | DataAvailable |
Indicates recorded data is available. | |
EventHandler< StoppedEventArgs > | RecordingStopped |
Indicates that all recorded data has now been received. | |
WASAPI Loopback Capture based on a contribution from "Pygmy" - http://naudio.codeplex.com/discussions/203605.
|
inline |
Initialises a new instance of the WASAPI capture class.
|
inline |
Initialises a new instance of the WASAPI capture class.
captureDevice | Capture device to use |
|
inlineprotectedvirtual |
Gets the audio client stream flags for loopback and base stream flags.
Reimplemented from NAudio.CoreAudioApi.WasapiCapture.
|
inlinestatic |
Retrieves the default loopback capture device for audio rendering.
This method retrieves the default loopback capture device using the MMDeviceEnumerator class and returns the default audio endpoint for rendering multimedia content.