#include <passthroughaudioencoder.h>
|
| std::shared_ptr< PassThroughAudioEncoderInternalData > | mInternalData |
| |
◆ PassThroughAudioEncoder()
| ttv::broadcast::PassThroughAudioEncoder::PassThroughAudioEncoder |
( |
| ) |
|
◆ ~PassThroughAudioEncoder()
| virtual ttv::broadcast::PassThroughAudioEncoder::~PassThroughAudioEncoder |
( |
| ) |
|
|
virtual |
◆ GetAudioEncodingFormat()
◆ GetName()
| virtual std::string ttv::broadcast::PassThroughAudioEncoder::GetName |
( |
| ) |
const |
|
overridevirtual |
◆ GetNumInputSamplesPerEncodeFrame()
| virtual TTV_ErrorCode ttv::broadcast::PassThroughAudioEncoder::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::PassThroughAudioEncoder::Initialize |
( |
| ) |
|
|
overridevirtual |
◆ SetAudioFormat()
◆ SetFrameWriter()
| virtual TTV_ErrorCode ttv::broadcast::PassThroughAudioEncoder::SetFrameWriter |
( |
const std::shared_ptr< IFrameWriter > & |
frameWriter | ) |
|
|
overridevirtual |
◆ SetSamplesPerFrame()
| TTV_ErrorCode ttv::broadcast::PassThroughAudioEncoder::SetSamplesPerFrame |
( |
uint32_t |
samplesPerFrame | ) |
|
◆ Shutdown()
| virtual TTV_ErrorCode ttv::broadcast::PassThroughAudioEncoder::Shutdown |
( |
| ) |
|
|
overridevirtual |
◆ Start()
| virtual TTV_ErrorCode ttv::broadcast::PassThroughAudioEncoder::Start |
( |
uint32_t |
streamIndex, |
|
|
const AudioParams & |
audioParams |
|
) |
| |
|
overridevirtual |
◆ Stop()
| virtual TTV_ErrorCode ttv::broadcast::PassThroughAudioEncoder::Stop |
( |
| ) |
|
|
overridevirtual |
◆ SubmitFrame()
| virtual TTV_ErrorCode ttv::broadcast::PassThroughAudioEncoder::SubmitFrame |
( |
const std::shared_ptr< AudioFrame > & |
audioFrame | ) |
|
|
overridevirtual |
◆ 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::shared_ptr<PassThroughAudioEncoderInternalData> ttv::broadcast::PassThroughAudioEncoder::mInternalData |
|
private |
The documentation for this class was generated from the following file: