#include <passthroughaudiocapture.h>
◆ ttv::broadcast::PassThroughAudioCapture::QueueEntry
| struct ttv::broadcast::PassThroughAudioCapture::QueueEntry |
| Class Members |
|
vector< uint8_t > |
packet |
|
|
uint64_t |
timestamp |
|
◆ PassThroughAudioCapture()
| ttv::broadcast::PassThroughAudioCapture::PassThroughAudioCapture |
( |
| ) |
|
◆ ~PassThroughAudioCapture()
| virtual ttv::broadcast::PassThroughAudioCapture::~PassThroughAudioCapture |
( |
| ) |
|
|
virtual |
◆ EnqueueAudioPacket()
| TTV_ErrorCode ttv::broadcast::PassThroughAudioCapture::EnqueueAudioPacket |
( |
std::vector< uint8_t > && |
videoPacket, |
|
|
uint64_t |
timestamp |
|
) |
| |
◆ GetAudioLayer()
| virtual AudioLayerId ttv::broadcast::AudioCaptureBase::GetAudioLayer |
( |
| ) |
const |
|
overridevirtualinherited |
◆ GetMuted()
| virtual bool ttv::broadcast::AudioCaptureBase::GetMuted |
( |
| ) |
const |
|
overridevirtualinherited |
◆ GetName()
| virtual std::string ttv::broadcast::PassThroughAudioCapture::GetName |
( |
| ) |
const |
|
overridevirtual |
◆ GetNumChannels()
| virtual uint32_t ttv::broadcast::PassThroughAudioCapture::GetNumChannels |
( |
| ) |
const |
|
overridevirtual |
◆ Initialize()
| virtual TTV_ErrorCode ttv::broadcast::AudioCaptureBase::Initialize |
( |
| ) |
|
|
overridevirtualinherited |
◆ Process()
| virtual TTV_ErrorCode ttv::broadcast::PassThroughAudioCapture::Process |
( |
const std::shared_ptr< IAudioMixer > & |
mixer, |
|
|
uint64_t & |
lastSampleTime |
|
) |
| |
|
overridevirtual |
◆ SamplesToSystemTime()
| static uint64_t ttv::broadcast::AudioCaptureBase::SamplesToSystemTime |
( |
uint64_t |
samples, |
|
|
uint32_t |
sampleRate |
|
) |
| |
|
staticinherited |
◆ SetAudioFormat()
◆ SetAudioLayer()
| virtual void ttv::broadcast::AudioCaptureBase::SetAudioLayer |
( |
AudioLayerId |
layer | ) |
|
|
overridevirtualinherited |
◆ SetAudioMixer()
| virtual void ttv::broadcast::AudioCaptureBase::SetAudioMixer |
( |
const std::shared_ptr< IAudioMixer > & |
mixer | ) |
|
|
overridevirtualinherited |
◆ SetInitialTime()
| virtual void ttv::broadcast::AudioCaptureBase::SetInitialTime |
( |
uint64_t |
initialTime | ) |
|
|
overridevirtualinherited |
◆ SetMuted()
| virtual void ttv::broadcast::AudioCaptureBase::SetMuted |
( |
bool |
muted | ) |
|
|
overridevirtualinherited |
Sets the current muted state. The capturer should track this flag so it can be returned from GetMuted() but it can also optionally pause capturing when muted if desired. Silence should still be written as if there were real audio available.
Implements ttv::broadcast::IAudioCapture.
◆ SetNumChannels()
| TTV_ErrorCode ttv::broadcast::PassThroughAudioCapture::SetNumChannels |
( |
uint32_t |
numChannels | ) |
|
◆ Shutdown()
| virtual TTV_ErrorCode ttv::broadcast::AudioCaptureBase::Shutdown |
( |
| ) |
|
|
overridevirtualinherited |
◆ Start()
| virtual TTV_ErrorCode ttv::broadcast::AudioCaptureBase::Start |
( |
| ) |
|
|
overridevirtualinherited |
◆ Stop()
| virtual TTV_ErrorCode ttv::broadcast::PassThroughAudioCapture::Stop |
( |
| ) |
|
|
overridevirtual |
◆ SystemTimeToSamples()
| static uint64_t ttv::broadcast::AudioCaptureBase::SystemTimeToSamples |
( |
uint64_t |
time, |
|
|
uint32_t |
sampleRate |
|
) |
| |
|
staticinherited |
◆ mAudioFormat
| AudioFormat ttv::broadcast::PassThroughAudioCapture::mAudioFormat |
|
private |
◆ mAudioLayer
◆ mAudioMixer
| std::shared_ptr<IAudioMixer> ttv::broadcast::AudioCaptureBase::mAudioMixer |
|
protectedinherited |
◆ mAudioPacketQueue
◆ mInitialized
| bool ttv::broadcast::AudioCaptureBase::mInitialized |
|
protectedinherited |
◆ mInitialSysTime
| uint64_t ttv::broadcast::AudioCaptureBase::mInitialSysTime |
|
protectedinherited |
◆ mMuted
| bool ttv::broadcast::AudioCaptureBase::mMuted |
|
protectedinherited |
◆ mNumChannels
| uint32_t ttv::broadcast::PassThroughAudioCapture::mNumChannels |
|
private |
◆ mStarted
| bool ttv::broadcast::AudioCaptureBase::mStarted |
|
protectedinherited |
The documentation for this class was generated from the following file: