|
Twitch SDK (Internal)
|
#include <audioframe.h>
Public Types | |
| typedef std::function< void()> | UnlockFunc |
Public Member Functions | |
| virtual | ~AudioFrame () |
| void | SetTimeStamp (uint64_t timeStamp) |
| uint64_t | GetTimeStamp () const |
| void | SetAudioFormat (AudioFormat format) |
| AudioFormat | GetAudioFormat () const |
| void | SetNumChannels (uint32_t numChannels) |
| uint32_t | GetNumChannels () const |
| void | SetSampleRateHz (uint32_t rate) |
| uint32_t | GetSampleRateHz () const |
| IAudioFrameReceiver::ReceiverTypeId | GetReceiverTypeId () const |
Protected Member Functions | |
| AudioFrame (IAudioFrameReceiver::ReceiverTypeId receiverTypeId) | |
| void | SetUnlockCallback (UnlockFunc callback) |
Private Attributes | |
| UnlockFunc | mUnlockCallback |
| IAudioFrameReceiver::ReceiverTypeId | mReceiverTypeId |
| AudioFormat | mAudioFormat |
| uint64_t | mTimeStamp |
| uint32_t | mNumChannels |
| uint32_t | mSampleRateHz |
The container for audio data to be encoded. This class will be extended to hold implementation-specific data.
| typedef std::function<void()> ttv::broadcast::AudioFrame::UnlockFunc |
|
virtual |
|
protected |
|
inline |
|
inline |
|
inline |
Returns the type id of the receiver that packaged the AudioFrame.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.13