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.
Represents audio output stream used for custom audio output configurations. Updated in version 1.7.0.
Members
operator SPXAUDIOSTREAMHANDLE
Syntax: public inline explicit operator SPXAUDIOSTREAMHANDLE ( ) const;
Internal operator used to get underlying handle value.
Returns
A handle.
CreatePullStream
Syntax: public inline static std::shared_ptr< PullAudioOutputStream > CreatePullStream ( );
Creates a memory backed PullAudioOutputStream.
Returns
A shared pointer to PullAudioOutputStream
CreatePushStream
Syntax: public inline static std::shared_ptr< PushAudioOutputStream > CreatePushStream ( void * pvContext , CUSTOM_AUDIO_PUSH_STREAM_WRITE_CALLBACK writeCallback , CUSTOM_AUDIO_PUSH_STREAM_CLOSE_CALLBACK closeCallback );
Creates a PushAudioOutputStream that delegates to the specified callback functions for Write() and Close() methods.
Parameters
pvContextContext pointer to use when invoking the callbacks.writeCallbackWrite callback.closeCallbackClose callback.
Returns
A shared pointer to PushAudioOutputStream
CreatePushStream
Syntax: public inline static std::shared_ptr< PushAudioOutputStream > CreatePushStream ( WriteCallbackFunction_Type writeCallback , CloseCallbackFunction_Type closeCallback );
Creates a PushAudioOutputStream that delegates to the specified callback functions for Write() and Close() methods.
Parameters
writeCallbackWrite callback.closeCallbackClose callback.
Returns
A shared pointer to PushAudioOutputStream
CreatePushStream
Syntax: public inline static std::shared_ptr< PushAudioOutputStream > CreatePushStream ( std::shared_ptr< PushAudioOutputStreamCallback > callback );
Creates a PushAudioOutputStream that delegates to the specified callback interface for Write() and Close() methods.
Parameters
callbackShared pointer to PushAudioOutputStreamCallback instance.
Returns
A shared pointer to PushAudioOutputStream
WriteCallbackFunction_Type
Syntax: typedef WriteCallbackFunction_Type;
CloseCallbackFunction_Type
Syntax: typedef CloseCallbackFunction_Type;