Inherits IAddonInstance.
|
| | CInstanceAudioDecoder (KODI_HANDLE instance, const std::string &kodiVersion="") |
| | Audio decoder class constructor used to support multiple instance types. More...
|
| |
| virtual bool | Init (const std::string &filename, unsigned int filecache, int &channels, int &samplerate, int &bitspersample, int64_t &totaltime, int &bitrate, AudioEngineDataFormat &format, std::vector< AudioEngineChannel > &channellist)=0 |
| | Initialize a decoder. More...
|
| |
| virtual int | ReadPCM (uint8_t *buffer, int size, int &actualsize)=0 |
| | Produce some noise. More...
|
| |
| virtual bool | ReadTag (const std::string &file, kodi::addon::AudioDecoderInfoTag &tag) |
| | Read tag of a file. More...
|
| |
| virtual int64_t | Seek (int64_t time) |
| | Seek in output stream. More...
|
| |
| virtual int | TrackCount (const std::string &file) |
| | Get number of tracks in a file. More...
|
| |
|
virtual ADDON_STATUS | CreateInstance (int instanceType, const std::string &instanceID, KODI_HANDLE instance, const std::string &version, KODI_HANDLE &addonInstance) |
| |
|
| IAddonInstance (ADDON_TYPE type, const std::string &version) |
| |
|
|
std::string | m_id |
| |
|
const std::string | m_kodiVersion |
| |
|
const ADDON_TYPE | m_type |
| |
The documentation for this class was generated from the following file:
- /home/I-Cat/Development/Kodi/kodi-Matrix/xbmc/addons/kodi-dev-kit/include/kodi/addon-instance/AudioDecoder.h