#include <AudioDecoder.h>
|
| | CInstanceAudioDecoder (KODI_HANDLE instance, const std::string &kodiVersion="") |
| | Audio decoder class constructor used to support multiple instance types. More...
|
| |
| virtual bool | SupportsFile (const std::string &filename) |
| | Checks addon support given file path. 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, size_t size, size_t &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, kodi::addon::AudioDecoderInfoTag &tag) |
| | 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, const std::string &version) |
| |
| virtual | ~IAddonInstance ()=default |
| |
| virtual ADDON_STATUS | CreateInstance (int instanceType, const std::string &instanceID, KODI_HANDLE instance, const std::string &version, KODI_HANDLE &addonInstance) |
| |
|
| static std::string | GetTrack (const std::string &name, const std::string &trackPath, int &track) |
| | Static auxiliary function to read the track number used from the given path. More...
|
| |
The documentation for this class was generated from the following file: