|
const char * | GetName () override |
|
bool | Initialize (AEAudioFormat &format, std::string &device) override |
|
void | Deinitialize () override |
|
virtual double | GetDelay () |
|
void | GetDelay (AEDelayStatus &status) override |
| Return a timestamped status structure with delay and sink info. More...
|
|
double | GetCacheTotal () override |
|
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 |
|
bool | HasVolume () override |
|
void | SetVolume (float volume) override |
|
bool | IsInitialized () |
|
void | UpdateInternalVolume (const pa_cvolume *nVol) |
|
pa_stream * | GetInternalStream () |
|
pa_threaded_mainloop * | GetInternalMainLoop () |
|
virtual double | GetLatency () |
|
virtual void | AddPause (unsigned int millis) |
| instruct the sink to add a pause More...
|
|
|
static bool | Register () |
|
static std::unique_ptr< IAESink > | Create (std::string &device, AEAudioFormat &desiredFormat) |
|
static void | EnumerateDevicesEx (AEDeviceInfoList &list, bool force=false) |
|
static void | Cleanup () |
|
|
CCriticalSection | m_sec |
|
std::atomic< int > | m_requestedBytes = 0 |
|
◆ AddPackets()
unsigned int CAESinkPULSE::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.
◆ GetDelay()
Return a timestamped status structure with delay and sink info.
- Parameters
-
status | structure filled with sink status |
Implements IAESink.
The documentation for this class was generated from the following files:
- xbmc/cores/AudioEngine/Sinks/AESinkPULSE.h
- xbmc/cores/AudioEngine/Sinks/AESinkPULSE.cpp