Method | Description | |
---|---|---|
AudioSourceMixer ( ) : System |
Initializes a new instance of the AudioSourceMixer class.
|
|
AudioSourceMixer ( IEnumerable |
Initializes a new instance of the AudioSourceMixer class.
|
|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
Seek ( int frameIndex ) : void |
Not supported.
|
|
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.
|
|
OnNewFrame ( |
Notifies client about new block of frames.
|
Method | Description | |
---|---|---|
WorkerThread ( ) : void |
Worker thread.
|
|
mix ( short a, short b ) : short | ||
source_NewFrame ( object sender, |
public AudioSourceMixer ( IEnumerable |
||
sources | IEnumerable |
The audio sources to be mixed. |
return | System |
protected Dispose ( bool disposing ) : void | ||
disposing | bool |
/// |
return | void |
protected OnNewFrame ( |
||
frame | New frame's audio. | |
return | void |
protected OnNewFrame ( |
||
frame | New frame's audio. | |
return | void |