Method | Description | |
---|---|---|
Dispose ( ) : void |
Dispose
|
|
GetDefaultCaptureDevice ( ) : |
Gets the default audio capture device
|
|
StartRecording ( ) : void |
Start Recording
|
|
StopRecording ( ) : void |
Stop Recording (requests a stop, wait for RecordingStopped event to know it has finished)
|
|
WasapiCapture ( ) : System |
Initialises a new instance of the WASAPI capture class
|
|
WasapiCapture ( |
Initialises a new instance of the WASAPI capture class
|
Method | Description | |
---|---|---|
GetAudioClientStreamFlags ( ) : AudioClientStreamFlags |
To allow overrides to specify different flags (e.g. loopback)
|
Method | Description | |
---|---|---|
CaptureThread ( |
||
DoRecording ( |
||
InitializeCaptureDevice ( ) : void | ||
RaiseRecordingStopped ( |
||
ReadNextPacket ( NAudio.CoreAudioApi.AudioCaptureClient capture ) : void |
protected GetAudioClientStreamFlags ( ) : AudioClientStreamFlags | ||
return | AudioClientStreamFlags |
public static GetDefaultCaptureDevice ( ) : |
||
return |
public WasapiCapture ( |
||
captureDevice | Capture device to use | |
return | System |