xbmc
Public Member Functions | Static Public Member Functions | List of all members
AE::SINK::CAESinkPipewire Class Reference
Inheritance diagram for AE::SINK::CAESinkPipewire:
Inheritance graph
[legend]
Collaboration diagram for AE::SINK::CAESinkPipewire:
Collaboration graph
[legend]

Public Member Functions

const char * GetName () override
 
bool Initialize (AEAudioFormat &format, std::string &device) override
 
void Deinitialize () override
 
double GetCacheTotal () override
 
void GetDelay (AEDelayStatus &status) override
 Return a timestamped status structure with delay and sink info. More...
 
unsigned int AddPackets (uint8_t **data, unsigned int frames, unsigned int offset) override
 Adds packets to be sent out, this routine MUST block or sleep. More...
 
void Drain () override
 
- Public Member Functions inherited from IAESink
virtual double GetLatency ()
 
virtual void AddPause (unsigned int millis)
 instruct the sink to add a pause More...
 
virtual bool HasVolume ()
 
virtual void SetVolume (float volume)
 

Static Public Member Functions

static bool Register ()
 
static IAESinkCreate (std::string &device, AEAudioFormat &desiredFormat)
 
static void EnumerateDevicesEx (AEDeviceInfoList &list, bool force=false)
 
static void Destroy ()
 

Member Function Documentation

◆ AddPackets()

unsigned int CAESinkPipewire::AddPackets ( uint8_t **  data,
unsigned int  frames,
unsigned int  offset 
)
overridevirtual

Adds packets to be sent out, this routine MUST block or sleep.

Parameters
dataarray of pointers to planes holding audio data
framesnumber of audio frames in data
offsetoffset in frames where audio data starts
Returns
number of frames consumed by the sink

Implements IAESink.

◆ GetDelay()

void CAESinkPipewire::GetDelay ( AEDelayStatus status)
overridevirtual

Return a timestamped status structure with delay and sink info.

Parameters
statusstructure filled with sink status

Implements IAESink.


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