|
|
IAudioSource Interface |
Namespace: Accord.Audio
The IAudioSource type exposes the following members.
| Name | Description | |
|---|---|---|
| BytesReceived |
Received bytes count.
| |
| CanSeek |
Gets a Boolean value indicating if the source allows repositioning.
| |
| Channels |
Gets the number of audio channels in the source.
| |
| DesiredFrameSize |
Amount of samples to be read on each frame.
| |
| FramesReceived |
Received frames count.
| |
| IsRunning |
State of the audio source.
| |
| SampleRate |
Gets or sets the sample rate for the source.
| |
| Source |
Audio source.
| |
| UserData |
User data.
|
| Name | Description | |
|---|---|---|
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
| Seek |
Seeks a frame.
| |
| SignalToStop |
Signals audio source to stop its work.
| |
| Start |
Start audio source.
| |
| Stop |
Stop audio source.
| |
| WaitForStop |
Wait until audio source has stopped.
|
| Name | Description | |
|---|---|---|
| AudioSourceError |
Audio source error event.
| |
| NewFrame |
New frame block event.
|