IAudioPusher that provides the given waveform.
More...
Inherits AudioUtil.GeneratorPusher< T >.
|
| WaveformAudioPusher (int bufSizeMs=100, int samplingRate=48000, int channels=1) |
|
| GeneratorPusher (int bufSizeMs=100, int samplingRate=48000, int channels=1) |
|
void | SetCallback (Action< T[]> callback, ObjectFactory< T[], int > bufferFactory) |
| Set the callback function used for pushing data More...
|
|
void | Dispose () |
|
|
override int | Gen (T[] buf, long timeSamples) |
|
|
T[] | Waveform [set] |
|
int | Channels [get] |
|
int | SamplingRate [get] |
|
string | Error [get] |
|
int | SamplingRate [get] |
| Sampling rate of the audio signal (in Hz). More...
|
|
int | Channels [get] |
| Number of channels in the audio signal. More...
|
|
string | Error [get] |
| If not null, audio object is in invalid state. More...
|
|
IAudioPusher that provides the given waveform.