#include <appleaacencoder.h>
◆ AppleAacEncoder()
| ttv::broadcast::AppleAacEncoder::AppleAacEncoder |
( |
| ) |
|
◆ ~AppleAacEncoder()
| virtual ttv::broadcast::AppleAacEncoder::~AppleAacEncoder |
( |
| ) |
|
|
virtual |
◆ GetAudioEncodingFormat()
◆ GetName()
| virtual std::string ttv::broadcast::AppleAacEncoder::GetName |
( |
| ) |
const |
|
overridevirtual |
◆ GetNumInputSamplesPerEncodeFrame()
| virtual TTV_ErrorCode ttv::broadcast::AppleAacEncoder::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::AppleAacEncoder::Initialize |
( |
| ) |
|
|
overridevirtual |
◆ SetFrameWriter()
◆ Shutdown()
| virtual TTV_ErrorCode ttv::broadcast::AppleAacEncoder::Shutdown |
( |
| ) |
|
|
overridevirtual |
◆ Start()
◆ Stop()
◆ SubmitFrame()
| virtual TTV_ErrorCode ttv::broadcast::AppleAacEncoder::SubmitFrame |
( |
const std::shared_ptr< AudioFrame > & |
audioFrame | ) |
|
|
overridevirtual |
◆ SubmitPcmSamples()
| TTV_ErrorCode ttv::broadcast::AppleAacEncoder::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.
◆ mInternalData
| std::unique_ptr<AppleAacEncoderInternalData> ttv::broadcast::AppleAacEncoder::mInternalData |
|
private |
The documentation for this class was generated from the following file: