#include <EncoderAddon.h>
|
| CEncoderAddon (const ADDON::AddonInfoPtr &addonInfo) |
|
| ~CEncoderAddon () override |
|
bool | Init () override |
|
ssize_t | Encode (uint8_t *pbtStream, size_t nNumBytesRead) override |
|
bool | Close () override |
|
ssize_t | Write (const uint8_t *data, size_t len) override |
|
ssize_t | Seek (ssize_t pos, int whence) override |
|
| CEncoder () |
|
virtual | ~CEncoder () |
|
bool | EncoderInit (const std::string &strFile, int iInChannels, int iInRate, int iInBits) |
|
ssize_t | EncoderEncode (uint8_t *pbtStream, size_t nNumBytesRead) |
|
bool | EncoderClose () |
|
void | SetComment (const std::string &str) |
|
void | SetArtist (const std::string &str) |
|
void | SetTitle (const std::string &str) |
|
void | SetAlbum (const std::string &str) |
|
void | SetAlbumArtist (const std::string &str) |
|
void | SetGenre (const std::string &str) |
|
void | SetTrack (const std::string &str) |
|
void | SetTrackLength (int length) |
|
void | SetYear (const std::string &str) |
|
virtual | ~IEncoder ()=default |
|
Public Member Functions inherited from ADDON::IAddonInstanceHandler |
| IAddonInstanceHandler (ADDON_TYPE type, const AddonInfoPtr &addonInfo, AddonInstanceId instanceId=ADDON_INSTANCE_ID_UNUSED, KODI_HANDLE parentInstance=nullptr, const std::string &uniqueWorkID="") |
| Class constructor for handling add-on instance processes, allowing an add-on to handle multiple work simultaneously and independently.
|
|
virtual | ~IAddonInstanceHandler () |
|
ADDON_TYPE | UsedType () const |
|
AddonInstanceId | InstanceId () const |
|
const std::string & | UniqueWorkID () |
|
std::string | ID () const |
|
AddonInstanceId | InstanceID () const |
|
std::string | Name () const |
|
std::string | Author () const |
|
std::string | Icon () const |
|
std::string | Path () const |
|
std::string | Profile () const |
|
CAddonVersion | Version () const |
|
ADDON_STATUS | CreateInstance () |
|
void | DestroyInstance () |
|
const AddonDllPtr & | Addon () const |
|
AddonInfoPtr | GetAddonInfo () const |
|
virtual void | OnPreInstall () |
|
virtual void | OnPostInstall (bool update, bool modal) |
|
virtual void | OnPreUnInstall () |
|
virtual void | OnPostUnInstall () |
|
◆ CEncoderAddon()
◆ ~CEncoderAddon()
CEncoderAddon::~CEncoderAddon |
( |
| ) |
|
|
override |
◆ Close()
bool CEncoderAddon::Close |
( |
| ) |
|
|
overridevirtual |
◆ Encode()
ssize_t CEncoderAddon::Encode |
( |
uint8_t * | pbtStream, |
|
|
size_t | nNumBytesRead ) |
|
overridevirtual |
◆ Init()
bool CEncoderAddon::Init |
( |
| ) |
|
|
overridevirtual |
◆ Seek()
◆ Write()
The documentation for this class was generated from the following files: