Method | Description | |
---|---|---|
AudioCaptureDevice ( ) : Accord.Audio |
Initializes a new instance of the AudioCaptureDevice class.
|
|
AudioCaptureDevice ( |
Initializes a new instance of the AudioCaptureDevice class.
|
|
AudioCaptureDevice ( System.Guid device ) : Accord.Audio |
Initializes a new instance of the AudioCaptureDevice class.
|
|
AudioCaptureDevice ( System.Guid device, string name ) : Accord.Audio |
Initializes a new instance of the AudioCaptureDevice class.
|
|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
Seek ( int frameIndex ) : void |
This source does not support seeking.
|
|
SignalToStop ( ) : void |
Signals audio source to stop its work. Signals audio source to stop its background thread, stop to provide new frames and free resources. |
|
Start ( ) : void |
Start audio source. Starts audio source and return execution to caller. audio source object creates background thread and notifies about new frames with the help of NewFrame event. |
|
Stop ( ) : void |
Stop audio source. Stops audio source aborting its thread. |
|
WaitForStop ( ) : void |
Wait for audio source has stopped. Waits for source stopping after it was signaled to stop using SignalToStop method. |
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases unmanaged and - optionally - managed resources
|
|
OnNewFrame ( |
Notifies client about new block of frames.
|
Method | Description | |
---|---|---|
Free ( ) : void |
Free resource.
|
|
WorkerThread ( ) : void |
Worker thread.
|
public AudioCaptureDevice ( |
||
device | ||
return | Accord.Audio |
public AudioCaptureDevice ( System.Guid device ) : Accord.Audio | ||
device | System.Guid | Global identifier of the audio capture device. |
return | Accord.Audio |
public AudioCaptureDevice ( System.Guid device, string name ) : Accord.Audio | ||
device | System.Guid | Global identifier of the audio capture device. |
name | string | The device name or description string. |
return | Accord.Audio |
protected Dispose ( bool disposing ) : void | ||
disposing | bool |
/// |
return | void |
protected OnNewFrame ( |
||
frame | New frame's audio. | |
return | void |