#include <appleaudiocapture.h>
◆ CaptureType
| Enumerator |
|---|
| System | |
| Microphone | |
◆ AppleAudioCapture()
| ttv::broadcast::AppleAudioCapture::AppleAudioCapture |
( |
CaptureType |
type | ) |
|
◆ ~AppleAudioCapture()
| virtual ttv::broadcast::AppleAudioCapture::~AppleAudioCapture |
( |
| ) |
|
|
virtual |
◆ DoSubmitFrame()
| TTV_ErrorCode ttv::broadcast::AppleAudioCapture::DoSubmitFrame |
( |
uint32_t |
samplesPerChannel | ) |
|
|
private |
◆ GetAudioLayer()
| virtual AudioLayerId ttv::broadcast::AudioCaptureBase::GetAudioLayer |
( |
| ) |
const |
|
overridevirtualinherited |
◆ GetMuted()
| virtual bool ttv::broadcast::AudioCaptureBase::GetMuted |
( |
| ) |
const |
|
overridevirtualinherited |
◆ GetName()
| virtual std::string ttv::broadcast::AppleAudioCapture::GetName |
( |
| ) |
const |
|
overridevirtual |
◆ GetNumChannels()
| virtual uint32_t ttv::broadcast::AppleAudioCapture::GetNumChannels |
( |
| ) |
const |
|
overridevirtual |
◆ Initialize()
| virtual TTV_ErrorCode ttv::broadcast::AudioCaptureBase::Initialize |
( |
| ) |
|
|
overridevirtualinherited |
◆ Process()
| virtual TTV_ErrorCode ttv::broadcast::AppleAudioCapture::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 |
◆ 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::AppleAudioCapture::SetInitialTime |
( |
uint64_t |
initialTime | ) |
|
|
overridevirtual |
This is call once upon starting capture so there is a relative timestamp to work off of. This is used to pace the capture.
Reimplemented from ttv::broadcast::AudioCaptureBase.
◆ 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.
◆ Shutdown()
| virtual TTV_ErrorCode ttv::broadcast::AudioCaptureBase::Shutdown |
( |
| ) |
|
|
overridevirtualinherited |
◆ Start()
| virtual TTV_ErrorCode ttv::broadcast::AppleAudioCapture::Start |
( |
| ) |
|
|
overridevirtual |
◆ Stop()
| virtual TTV_ErrorCode ttv::broadcast::AppleAudioCapture::Stop |
( |
| ) |
|
|
overridevirtual |
◆ SystemTimeToSamples()
| static uint64_t ttv::broadcast::AudioCaptureBase::SystemTimeToSamples |
( |
uint64_t |
time, |
|
|
uint32_t |
sampleRate |
|
) |
| |
|
staticinherited |
◆ mAudioLayer
◆ mAudioMixer
| std::shared_ptr<IAudioMixer> ttv::broadcast::AudioCaptureBase::mAudioMixer |
|
protectedinherited |
◆ mInitialized
| bool ttv::broadcast::AudioCaptureBase::mInitialized |
|
protectedinherited |
◆ mInitialSysTime
| uint64_t ttv::broadcast::AudioCaptureBase::mInitialSysTime |
|
protectedinherited |
◆ mInternalData
| std::unique_ptr<AppleAudioCaptureInternalData> ttv::broadcast::AppleAudioCapture::mInternalData |
|
private |
◆ mMuted
| bool ttv::broadcast::AudioCaptureBase::mMuted |
|
protectedinherited |
◆ mStarted
| bool ttv::broadcast::AudioCaptureBase::mStarted |
|
protectedinherited |
The documentation for this class was generated from the following file: