Inherits IAddonInstance.
|
| CInstanceAudioEncoder (KODI_HANDLE instance, const std::string &kodiVersion="") |
| Audio encoder class constructor used to support multiple instances. More...
|
|
virtual int | Encode (int numBytesRead, const uint8_t *pbtStream)=0 |
| Encode a chunk of audio (required) More...
|
|
virtual bool | Finish () |
| Finalize encoding (optional) More...
|
|
int64_t | Seek (int64_t position, int whence=SEEK_SET) |
| Set the file's current position. More...
|
|
virtual bool | Start (int inChannels, int inRate, int inBits, const std::string &title, const std::string &artist, const std::string &albumartist, const std::string &album, const std::string &year, const std::string &track, const std::string &genre, const std::string &comment, int trackLength)=0 |
| Start encoder (required) More...
|
|
int | Write (const uint8_t *data, int length) |
| Write block of data. 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/alwin/Development/Kodi/kodi-N-sync-addon-doxygen/xbmc/addons/kodi-dev-kit/include/kodi/addon-instance/AudioEncoder.h