class Audio::PushAudioOutputStream
class Audio::PushAudioOutputStream
: public Audio::AudioOutputStream
Push audio output stream class. Added in version 1.4.0.
Syntax: public inline static std::shared_ptr< PushAudioOutputStream > Create ( void * pvContext , CUSTOM_AUDIO_PUSH_STREAM_WRITE_CALLBACK writeCallback , CUSTOM_AUDIO_PUSH_STREAM_CLOSE_CALLBACK closeCallback );
Creates a PushAudioOutputStream utilizing the specified Write() and Close() "C" callback functions pointers.
pvContext
Context pointer to use when invoking the callbacks.writeCallback
Write callback.closeCallback
Close callback.
A shared pointer to PushAudioOutputStream
Syntax: public inline static std::shared_ptr< PushAudioOutputStream > Create ( WriteCallbackFunction_Type writeCallback , CloseCallbackFunction_Type closeCallback );
Creates a PushAudioOutputStream utilizing the specified Write() and Close() callback functions.
writeCallback
Write callback.closeCallback
Close callback.
A shared pointer to PushAudioOutputStream
Syntax: public inline static std::shared_ptr< PushAudioOutputStream > Create ( std::shared_ptr< PushAudioOutputStreamCallback > callback );
Creates a PushAudioOutputStream utilizing the specified callback interface with Write() and Close() callback function.
callback
Shared pointer to PushAudioOutputStreamCallback instance.
A shared pointer to PushAudioOutputStream