#include <AudioDecoder.h>
|
| | CInstanceAudioDecoder (KODI_HANDLE instance) |
| | Class constructor. More...
|
| |
| virtual bool | Init (const std::string &filename, unsigned int filecache, int &channels, int &samplerate, int &bitspersample, int64_t &totaltime, int &bitrate, AEDataFormat &format, std::vector< AEChannel > &channellist)=0 |
| | Initialize a decoder. More...
|
| |
| virtual int | ReadPCM (uint8_t *buffer, int size, int &actualsize)=0 |
| | Produce some noise. More...
|
| |
| virtual int64_t | Seek (int64_t time) |
| | Seek in output stream. More...
|
| |
| virtual bool | ReadTag (const std::string &file, std::string &title, std::string &artist, int &length) |
| | Read tag of a file. More...
|
| |
| virtual int | TrackCount (const std::string &file) |
| | Get number of tracks in a file. More...
|
| |
| | IAddonInstance (ADDON_TYPE type) |
| |
| virtual | ~IAddonInstance ()=default |
| |
| virtual ADDON_STATUS | CreateInstance (int instanceType, std::string instanceID, KODI_HANDLE instance, KODI_HANDLE &addonInstance) |
| |
| virtual ADDON_STATUS | CreateInstanceEx (int instanceType, std::string instanceID, KODI_HANDLE instance, KODI_HANDLE &addonInstance, const std::string &version) |
| |
◆ CInstanceAudioDecoder()
| kodi::addon::CInstanceAudioDecoder::CInstanceAudioDecoder |
( |
KODI_HANDLE |
instance | ) |
|
|
inlineexplicit |
Class constructor.
- Parameters
-
| [in] | instance | The from Kodi given instance given be add-on CreateInstance call with instance id ADDON_INSTANCE_AUDIODECODER. |
The documentation for this class was generated from the following file: