An interface that defines callback methods for an audio output stream. Updated in version 1.7.0
Derive from this class and implement its function to provide your own data as an audio output stream.
public inline virtual ~PushAudioOutputStreamCallback ( );
Destructor, does nothing.
public int Write ( uint8_t * dataBuffer , uint32_t size );
This function is called to synchronously put data to the audio stream.
dataBufferThe pointer to the buffer from which to consume the audio data.
sizeThe size of the buffer.
The number of bytes consumed from the buffer
public void Close ( );
This function is called to close the audio stream.