Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CAAudioUnitSink Class Reference

Public Member Functions

 CAAudioUnitSink ()=default
 
 ~CAAudioUnitSink ()
 
bool open (AudioStreamBasicDescription outputFormat)
 
bool close ()
 
bool play (bool mute)
 
bool mute (bool mute)
 
bool pause ()
 
void drain ()
 
void getDelay (AEDelayStatus &status)
 
double cacheSize ()
 
unsigned int write (uint8_t *data, unsigned int byte_count)
 
unsigned int chunkSize ()
 
unsigned int getRealisedSampleRate ()
 
 CAAudioUnitSink ()
 
 ~CAAudioUnitSink ()
 
bool open (AudioStreamBasicDescription outputFormat, size_t buffer_size)
 
bool close ()
 
bool activate ()
 
bool deactivate ()
 
void updatedelay (AEDelayStatus &status)
 
double buffertime ()
 
unsigned int sampletrate ()
 
unsigned int write (uint8_t *data, unsigned int frames, unsigned int framesize)
 
void drain ()
 

Static Public Member Functions

static Float64 getCoreAudioRealisedSampleRate ()
 

Constructor & Destructor Documentation

◆ CAAudioUnitSink() [1/2]

CAAudioUnitSink::CAAudioUnitSink ( )
default

◆ ~CAAudioUnitSink() [1/2]

CAAudioUnitSink::~CAAudioUnitSink ( )

◆ CAAudioUnitSink() [2/2]

CAAudioUnitSink::CAAudioUnitSink ( )

◆ ~CAAudioUnitSink() [2/2]

CAAudioUnitSink::~CAAudioUnitSink ( )

Member Function Documentation

◆ activate()

bool CAAudioUnitSink::activate ( )

◆ buffertime()

double CAAudioUnitSink::buffertime ( )

◆ cacheSize()

double CAAudioUnitSink::cacheSize ( )

◆ chunkSize()

unsigned int CAAudioUnitSink::chunkSize ( )
inline

◆ close() [1/2]

bool CAAudioUnitSink::close ( )

◆ close() [2/2]

bool CAAudioUnitSink::close ( )

◆ deactivate()

bool CAAudioUnitSink::deactivate ( )

◆ drain() [1/2]

void CAAudioUnitSink::drain ( )

◆ drain() [2/2]

void CAAudioUnitSink::drain ( )

◆ getCoreAudioRealisedSampleRate()

Float64 CAAudioUnitSink::getCoreAudioRealisedSampleRate ( )
static

◆ getDelay()

void CAAudioUnitSink::getDelay ( AEDelayStatus & status)

◆ getRealisedSampleRate()

unsigned int CAAudioUnitSink::getRealisedSampleRate ( )
inline

◆ mute()

bool CAAudioUnitSink::mute ( bool mute)

◆ open() [1/2]

bool CAAudioUnitSink::open ( AudioStreamBasicDescription outputFormat)

◆ open() [2/2]

bool CAAudioUnitSink::open ( AudioStreamBasicDescription outputFormat,
size_t buffer_size )

◆ pause()

bool CAAudioUnitSink::pause ( )

◆ play()

bool CAAudioUnitSink::play ( bool mute)

◆ sampletrate()

unsigned int CAAudioUnitSink::sampletrate ( )
inline

◆ updatedelay()

void CAAudioUnitSink::updatedelay ( AEDelayStatus & status)

◆ write() [1/2]

unsigned int CAAudioUnitSink::write ( uint8_t * data,
unsigned int byte_count )

◆ write() [2/2]

unsigned int CAAudioUnitSink::write ( uint8_t * data,
unsigned int frames,
unsigned int framesize )

The documentation for this class was generated from the following files: