#include <lameaudioencoder.h>
◆ LameAudioEncoder()
| ttv::broadcast::LameAudioEncoder::LameAudioEncoder |
( |
| ) |
|
◆ ~LameAudioEncoder()
| virtual ttv::broadcast::LameAudioEncoder::~LameAudioEncoder |
( |
| ) |
|
|
virtual |
◆ FlushAudioData()
| TTV_ErrorCode ttv::broadcast::LameAudioEncoder::FlushAudioData |
( |
| ) |
|
|
private |
◆ GetAudioEncodingFormat()
◆ GetName()
| virtual std::string ttv::broadcast::LameAudioEncoder::GetName |
( |
| ) |
const |
|
overridevirtual |
◆ GetNumInputSamplesPerEncodeFrame()
| virtual TTV_ErrorCode ttv::broadcast::LameAudioEncoder::GetNumInputSamplesPerEncodeFrame |
( |
uint32_t & |
result | ) |
|
|
overridevirtual |
Assuming the encoder requires a data frame of constant size this is the number of samples in the frame. If it does not need to be constant then result will be 0.
Implements ttv::broadcast::IAudioEncoder.
◆ GetReceiverImplementation()
◆ Initialize()
| virtual TTV_ErrorCode ttv::broadcast::LameAudioEncoder::Initialize |
( |
| ) |
|
|
overridevirtual |
◆ SetFrameWriter()
| virtual TTV_ErrorCode ttv::broadcast::LameAudioEncoder::SetFrameWriter |
( |
const std::shared_ptr< IFrameWriter > & |
frameWriter | ) |
|
|
overridevirtual |
◆ Shutdown()
| virtual TTV_ErrorCode ttv::broadcast::LameAudioEncoder::Shutdown |
( |
| ) |
|
|
overridevirtual |
◆ Start()
◆ Stop()
◆ SubmitFrame()
| virtual TTV_ErrorCode ttv::broadcast::LameAudioEncoder::SubmitFrame |
( |
const std::shared_ptr< AudioFrame > & |
audioFrame | ) |
|
|
overridevirtual |
◆ SubmitPcmSamples()
| TTV_ErrorCode ttv::broadcast::LameAudioEncoder::SubmitPcmSamples |
( |
const int16_t * |
samples, |
|
|
uint32_t |
numSamplesPerChannel |
|
) |
| |
|
private |
◆ SupportsReceiverProtocol() [1/2]
◆ SupportsReceiverProtocol() [2/2]
template<typename T >
| bool ttv::broadcast::IAudioEncoder::SupportsReceiverProtocol |
( |
| ) |
const |
|
inlineinherited |
Determines if the concrete implementation supports the given protocol. The template parameter must be known to derive from IAudioFrameReceiver.
◆ WritePacket()
◆ mInternalData
| std::unique_ptr<LameAudioEncoderInternalData> ttv::broadcast::LameAudioEncoder::mInternalData |
|
private |
The documentation for this class was generated from the following file:
- modules/broadcast/broadcast_lame-audio-encoder/include/twitchsdk/broadcast/lameaudioencoder.h