Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
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.
Members
~PushAudioOutputStreamCallback
Syntax: public inline virtual ~PushAudioOutputStreamCallback ( );
Destructor, does nothing.
Write
Syntax: public int Write ( uint8_t * dataBuffer , uint32_t size );
This function is called to synchronously put data to the audio stream.
Parameters
dataBufferThe pointer to the buffer from which to consume the audio data.sizeThe size of the buffer.
Returns
The number of bytes consumed from the buffer
Close
Syntax: public void Close ( );
This function is called to close the audio stream.