9#ifndef C_API_ADDONINSTANCE_AUDIO_ENCODER_H
10#define C_API_ADDONINSTANCE_AUDIO_ENCODER_H
12#include "../addon_base.h"
19 typedef KODI_ADDON_INSTANCE_HDL KODI_ADDON_AUDIOENCODER_HDL;
26 const char* album_artist;
27 const char* media_type;
32 const char* disc_subtitle;
34 const char* release_date;
43 typedef bool(ATTR_APIENTRYP PFN_KODI_ADDON_AUDIOENCODER_START_V1)(
45 typedef ssize_t(ATTR_APIENTRYP PFN_KODI_ADDON_AUDIOENCODER_ENCODE_V1)(
46 KODI_ADDON_AUDIOENCODER_HDL hdl,
const uint8_t* pbt_stream,
size_t num_bytes_read);
47 typedef bool(ATTR_APIENTRYP PFN_KODI_ADDON_AUDIOENCODER_FINISH_V1)(
48 KODI_ADDON_AUDIOENCODER_HDL hdl);
52 KODI_HANDLE kodiInstance;
53 ssize_t (*write)(KODI_HANDLE kodiInstance,
const uint8_t* data,
size_t len);
54 ssize_t (*seek)(KODI_HANDLE kodiInstance, ssize_t pos,
int whence);
59 PFN_KODI_ADDON_AUDIOENCODER_START_V1 start;
60 PFN_KODI_ADDON_AUDIOENCODER_ENCODE_V1 encode;
61 PFN_KODI_ADDON_AUDIOENCODER_FINISH_V1 finish;
Definition audioencoder.h:65
Definition audioencoder.h:51
Definition audioencoder.h:22
Definition visualization.h:22
Definition audioencoder.h:58