Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
class Audio::PullAudioInputStream
: public Audio::AudioInputStream
Pull audio input stream class.
Members
Create
Syntax: public inline static std::shared_ptr< PullAudioInputStream > Create ( void * pvContext , CUSTOM_AUDIO_PULL_STREAM_READ_CALLBACK readCallback , CUSTOM_AUDIO_PULL_STREAM_CLOSE_CALLBACK closeCallback );
Creates a PullAudioInputStream utilizing the specified Read() and Close() "C" callback functions pointers Note: The dataBuffer returned by Read() should not contain any audio header.
Parameters
pvContextContext pointer to use when invoking the callbacks.readCallbackRead callback.closeCallbackClose callback.
Returns
A shared pointer to PullAudioInputStream
Create
Syntax: public inline static std::shared_ptr< PullAudioInputStream > Create ( void * pvContext , CUSTOM_AUDIO_PULL_STREAM_READ_CALLBACK readCallback , CUSTOM_AUDIO_PULL_STREAM_CLOSE_CALLBACK closeCallback , CUSTOM_AUDIO_PULL_STREAM_GET_PROPERTY_CALLBACK getPropertyCallback );
Creates a PullAudioInputStream utilizing the specified Read(), Close() and GetProperty() "C" callback functions pointers Note: The dataBuffer returned by Read() should not contain any audio header. Added in version 1.5.0.
Parameters
pvContextContext pointer to use when invoking the callbacks.readCallbackRead callback.closeCallbackClose callback.getPropertyCallbackGet property callback.
Returns
A shared pointer to PullAudioInputStream
Create
Syntax: public inline static std::shared_ptr< PullAudioInputStream > Create ( ReadCallbackFunction_Type readCallback , CloseCallbackFunction_Type closeCallback );
Creates a PullAudioInputStream utilizing the specified Read() and Close() callback functions. Note: The dataBuffer returned by Read() should not contain any audio header.
Parameters
readCallbackRead callback.closeCallbackClose callback.
Returns
A shared pointer to PullAudioInputStream
Create
Syntax: public inline static std::shared_ptr< PullAudioInputStream > Create ( ReadCallbackFunction_Type readCallback , CloseCallbackFunction_Type closeCallback , GetPropertyCallbackFunction_Type getPropertyCallback );
Creates a PullAudioInputStream utilizing the specified Read(), Close() and GetProperty() callback functions. Note: The dataBuffer returned by Read() should not contain any audio header. Added in version 1.5.0.
Parameters
readCallbackRead callback.closeCallbackClose callback.getPropertyCallbackGet property callback.
Returns
A shared pointer to PullAudioInputStream
Create
Syntax: public inline static std::shared_ptr< PullAudioInputStream > Create ( std::shared_ptr< PullAudioInputStreamCallback > callback );
Creates a PullAudioInputStream utilizing the specified Close() callback function.
Parameters
callbackShared pointer to PullAudioInputStreamCallback instance.
Returns
A shared pointer to PullAudioInputStream
Create
Syntax: public inline static std::shared_ptr< PullAudioInputStream > Create ( std::shared_ptr< AudioStreamFormat > format , void * pvContext , CUSTOM_AUDIO_PULL_STREAM_READ_CALLBACK readCallback , CUSTOM_AUDIO_PULL_STREAM_CLOSE_CALLBACK closeCallback );
Creates a PullAudioInputStream utilizing the specified Read() and Close() "C" callback functions pointers Note: The dataBuffer returned by Read() should not contain any audio header.
Parameters
formatAudio stream format.pvContextContext pointer to use when invoking the callbacks.readCallbackRead callback.closeCallbackClose callback.
Returns
A shared pointer to PullAudioInputStream
Create
Syntax: public inline static std::shared_ptr< PullAudioInputStream > Create ( std::shared_ptr< AudioStreamFormat > format , void * pvContext , CUSTOM_AUDIO_PULL_STREAM_READ_CALLBACK readCallback , CUSTOM_AUDIO_PULL_STREAM_CLOSE_CALLBACK closeCallback , CUSTOM_AUDIO_PULL_STREAM_GET_PROPERTY_CALLBACK getPropertyCallback );
Creates a PullAudioInputStream utilizing the specified Read(), Close() and GetProperty() "C" callback functions pointers Note: The dataBuffer returned by Read() should not contain any audio header.
Parameters
formatAudio stream format.pvContextContext pointer to use when invoking the callbacks.readCallbackRead callback.closeCallbackClose callback.getPropertyCallbackGet property callback.
Returns
A shared pointer to PullAudioInputStream
Create
Syntax: public inline static std::shared_ptr< PullAudioInputStream > Create ( std::shared_ptr< AudioStreamFormat > format , ReadCallbackFunction_Type readCallback , CloseCallbackFunction_Type closeCallback );
Creates a PullAudioInputStream utilizing the specified Read() and Close() callback functions. Note: The dataBuffer returned by Read() should not contain any audio header.
Parameters
formatAudio stream format.readCallbackRead callback.closeCallbackClose callback.
Returns
A shared pointer to PullAudioInputStream
Create
Syntax: public inline static std::shared_ptr< PullAudioInputStream > Create ( std::shared_ptr< AudioStreamFormat > format , ReadCallbackFunction_Type readCallback , CloseCallbackFunction_Type closeCallback , GetPropertyCallbackFunction_Type getPropertyCallback );
Creates a PullAudioInputStream utilizing the specified Read(), Close() and GetProperty() callback functions. Note: The dataBuffer returned by Read() should not contain any audio header. Added in version 1.5.0.
Parameters
formatAudio stream format.readCallbackRead callback.closeCallbackClose callback.getPropertyCallbackGet property callback.
Returns
A shared pointer to PullAudioInputStream
Create
Syntax: public inline static std::shared_ptr< PullAudioInputStream > Create ( std::shared_ptr< AudioStreamFormat > format , std::shared_ptr< PullAudioInputStreamCallback > callback );
Creates a PullAudioInputStream utilizing the specified Read() and Close() callback functions.
Parameters
formatAudio stream format.callbackShared pointer to PullAudioInputStreamCallback instance.
Returns
A shared pointer to PullAudioInputStream