#include <mediasession_audiodata.h>
Stream which represents sound data.
Public Member Functions | |
MAXON_METHOD Result< void > | InitWithAudioData (const AudioObjectRef &audioData) |
MAXON_METHOD AudioObjectRef | GetAudioObject () const |
MAXON_METHOD Result< void > | SetCallbackHandler () |
MAXON_METHOD Result< void > | InitStream (MediaStreamProperties &props) |
MAXON_METHOD Result< void > | FinishStream (const MediaStreamProperties &props) |
Private Member Functions | |
MAXON_INTERFACE (MediaStreamAudioDataExportInterface, MAXON_REFERENCE_NORMAL, "net.maxon.image.interface.mediastreamaudiodataexport") | |
|
private |
MAXON_METHOD Result<void> InitWithAudioData | ( | const AudioObjectRef & | audioData | ) |
InitWithAudioData init with a given soundDataRef.
[in] | audioData | Audio data to set. |
MAXON_METHOD AudioObjectRef GetAudioObject | ( | ) | const |
Returns the object given at Init.
MAXON_METHOD Result<void> SetCallbackHandler | ( | ) |
Subscribes to the stream.
MAXON_METHOD Result<void> InitStream | ( | MediaStreamProperties & | props | ) |
called by the input media converter implementation before loading a stream.
[in] | props | Properties of the image stream. |
MAXON_METHOD Result<void> FinishStream | ( | const MediaStreamProperties & | props | ) |
called by the input media converter implementation when loading the stream is completed.
[in] | props | Properties of the image stream. |