Photon Voice
v2.58
IAudioReader that provides the given waveform. More...
Inherits AudioUtil.GeneratorReader< T >.
Public Member Functions | |
| WaveformAudioReader (Func< double > clockSec=null, int samplingRate=48000, int channels=1) | |
Public Member Functions inherited from AudioUtil.GeneratorReader< 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... | |
Protected Member Functions | |
| override int | Gen (T[] buf, long timeSamples) |
Properties | |
| T[] | Waveform [set] |
Properties inherited from AudioUtil.GeneratorReader< T > | |
| int | Channels [get] |
| int | SamplingRate [get] |
| string | Error [get] |
Properties inherited from IAudioDesc | |
| 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... | |
IAudioReader that provides the given waveform.