Photon Voice
v2.58
Audio Pusher interface. More...
Inherits IAudioDesc.
Inherited by AudioUtil.GeneratorPusher< T >.
Public Member Functions | |
| void | SetCallback (Action< T[]> callback, ObjectFactory< T[], int > bufferFactory) |
| Set the callback function used for pushing data. More... | |
Additional Inherited Members | |
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... | |
Audio Pusher interface.
Opposed to an IAudioReader (which will deliver audio data when it is "pulled"), an IAudioPusher will push its audio data whenever it is ready,
| void SetCallback | ( | Action< T[]> | callback, |
| ObjectFactory< T[], int > | bufferFactory | ||
| ) |
Set the callback function used for pushing data.
| callback | Callback function to use. |
| bufferFactory | Buffer factory used to create the buffer that is pushed to the callback |
Implemented in AudioUtil.GeneratorPusher< T >.