Audio engine functions
This interface contains auxiliary functions and classes which allow an addon to play their own individual audio stream in Kodi.
Using kodi::audioengine::CAEStream, a class can be created in this regard, about which the necessary stream data and information are given to Kodi.
Via kodi::audioengine::GetCurrentSinkFormat(), the audio formats currently processed in Kodi can be called up beforehand in order to adapt your own stream to them.
However, the created stream can also differ from this because Kodi changes it to suit it.
Example:
It has the header #include <kodi/AudioEngine.h> be included to enjoy it.
Modules | |
Definitions, structures and enumerators | |
Library definition values All audio engine functions associated data structures. | |
class CAEStream | |
Audio Engine Stream Class Class that can be created by the addon in order to be able to transfer audiostream data processed on the addon to Kodi and output it audibly. | |
|
inline |
Get the current sink data format.
[in] | format | Current sink data format. For more details see AudioEngineFormat. |
Example: