#include <AESinkAUDIOTRACK.h>
◆ CAESinkAUDIOTRACK()
CAESinkAUDIOTRACK::CAESinkAUDIOTRACK |
( |
| ) |
|
◆ ~CAESinkAUDIOTRACK()
CAESinkAUDIOTRACK::~CAESinkAUDIOTRACK |
( |
| ) |
|
|
override |
◆ AddPackets()
unsigned int CAESinkAUDIOTRACK::AddPackets |
( |
uint8_t ** | data, |
|
|
unsigned int | frames, |
|
|
unsigned int | offset ) |
|
overridevirtual |
Adds packets to be sent out, this routine MUST block or sleep.
- Parameters
-
data | array of pointers to planes holding audio data |
frames | number of audio frames in data |
offset | offset in frames where audio data starts |
- Returns
- number of frames consumed by the sink
Implements IAESink.
◆ AddPause()
void CAESinkAUDIOTRACK::AddPause |
( |
unsigned int | millis | ) |
|
|
overridevirtual |
instruct the sink to add a pause
- Parameters
-
Reimplemented from IAESink.
◆ AudioTrackWrite() [1/2]
int CAESinkAUDIOTRACK::AudioTrackWrite |
( |
char * | audioData, |
|
|
int | offsetInBytes, |
|
|
int | sizeInBytes ) |
|
protected |
◆ AudioTrackWrite() [2/2]
int CAESinkAUDIOTRACK::AudioTrackWrite |
( |
char * | audioData, |
|
|
int | sizeInBytes, |
|
|
int64_t | timestamp ) |
|
protected |
◆ Create()
std::unique_ptr< IAESink > CAESinkAUDIOTRACK::Create |
( |
std::string & | device, |
|
|
AEAudioFormat & | desiredFormat ) |
|
static |
◆ CreateAudioTrack()
jni::CJNIAudioTrack * CAESinkAUDIOTRACK::CreateAudioTrack |
( |
int | stream, |
|
|
int | sampleRate, |
|
|
int | channelMask, |
|
|
int | encoding, |
|
|
int | bufferSize ) |
|
staticprotected |
◆ Deinitialize()
void CAESinkAUDIOTRACK::Deinitialize |
( |
| ) |
|
|
overridevirtual |
◆ Drain()
void CAESinkAUDIOTRACK::Drain |
( |
| ) |
|
|
overridevirtual |
◆ EnumerateDevicesEx()
◆ GetCacheTotal()
double CAESinkAUDIOTRACK::GetCacheTotal |
( |
| ) |
|
|
overridevirtual |
◆ GetDelay()
Return a timestamped status structure with delay and sink info.
- Parameters
-
status | structure filled with sink status |
Implements IAESink.
◆ GetLatency()
double CAESinkAUDIOTRACK::GetLatency |
( |
| ) |
|
|
overridevirtual |
◆ GetName()
const char * CAESinkAUDIOTRACK::GetName |
( |
| ) |
|
|
inlineoverridevirtual |
◆ Initialize()
◆ IsInitialized()
bool CAESinkAUDIOTRACK::IsInitialized |
( |
| ) |
|
◆ IsSupported()
bool CAESinkAUDIOTRACK::IsSupported |
( |
int | sampleRateInHz, |
|
|
int | channelConfig, |
|
|
int | audioFormat ) |
|
staticprotected |
◆ Register()
void CAESinkAUDIOTRACK::Register |
( |
| ) |
|
|
static |
◆ UpdateAvailablePassthroughCapabilities()
void CAESinkAUDIOTRACK::UpdateAvailablePassthroughCapabilities |
( |
bool | isRaw = false | ) |
|
|
staticprotected |
◆ UpdateAvailablePCMCapabilities()
void CAESinkAUDIOTRACK::UpdateAvailablePCMCapabilities |
( |
| ) |
|
|
staticprotected |
◆ VerifySinkConfiguration()
bool CAESinkAUDIOTRACK::VerifySinkConfiguration |
( |
int | sampleRate, |
|
|
int | channelMask, |
|
|
int | encoding, |
|
|
bool | isRaw = false ) |
|
staticprotected |
The documentation for this class was generated from the following files: