class Audio::PullAudioOutputStream

class Audio::PullAudioOutputStream
  : public Audio::AudioOutputStream

Represents memory backed pull audio output stream used for custom audio output. Updated in version 1.7.0.

Members

Read

Syntax: public inline uint32_t Read ( uint8_t * buffer , uint32_t bufferSize );

Reads a chunk of the audio data and fill it to given buffer.

Parameters

  • buffer A buffer to receive read data.

  • bufferSize Size of the buffer.

Returns

Size of data filled to the buffer, 0 means end of stream

Create

Syntax: public inline static std::shared_ptr< PullAudioOutputStream > Create ( );

Creates a memory backed PullAudioOutputStream.

Returns

A shared pointer to PullAudioOutputStream