|
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Sink that discards everything it is given. More...
#include <AESinkNULL.h>
Public Member Functions | |
| const char * | GetName () override |
| CAESinkNULL (std::chrono::duration< double > cacheTotal, std::chrono::duration< double > latency) | |
| bool | Initialize (AEAudioFormat &format, std::string &device) override |
| void | Deinitialize () override |
| double | GetCacheTotal () override |
| double | GetLatency () 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. | |
| void | GetDelay (AEDelayStatus &status) override |
| Return a timestamped status structure with delay and sink info. | |
| void | Drain () override |
Public Member Functions inherited from IAESink | |
| IAESink ()=default | |
| virtual | ~IAESink ()=default |
| virtual void | AddPause (unsigned int millis) |
| instruct the sink to add a pause | |
| virtual bool | HasVolume () |
| virtual void | SetVolume (float volume) |
Sink that discards everything it is given.
Takes over the configuration of the real device while that is handed over to an external media pipeline. Not registered with CAESinkFactory, it never shows up as a device.
| CAESinkNULL::CAESinkNULL | ( | std::chrono::duration< double > | cacheTotal, |
| std::chrono::duration< double > | latency ) |
|
overridevirtual |
Adds packets to be sent out, this routine MUST block or sleep.
| data | array of pointers to planes holding audio data |
| frames | number of audio frames in data |
| offset | offset in frames where audio data starts |
Implements IAESink.
|
inlineoverridevirtual |
Implements IAESink.
|
overridevirtual |
Return a timestamped status structure with delay and sink info.
| status | structure filled with sink status |
Implements IAESink.
|
inlineoverridevirtual |
Reimplemented from IAESink.
|
inlineoverridevirtual |
Implements IAESink.
|
overridevirtual |
Implements IAESink.