Inherits IAudioReader< T >.
Inherited by AudioUtil.ToneAudioReader< T >, and AudioUtil.WaveformAudioReader< T >.
|
| GeneratorReader (Func< double > clockSec=null, int samplingRate=48000, int channels=1) |
|
void | Dispose () |
|
bool | Read (T[] buf) |
| Fill full given frame buffer with source uncompressed data or return false if not enough such data. More...
|
|
|
abstract int | Gen (T[] buf, long timeSamples) |
|
|
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...
|
|
◆ Read()
Fill full given frame buffer with source uncompressed data or return false if not enough such data.
- Parameters
-
- Returns
- True if buffer was filled successfully, false otherwise.
Implements IDataReader< T >.