|
|
static void | Init (AddonGlobalInterface *addonInterface) |
| |
|
static void | DeInit (AddonGlobalInterface *addonInterface) |
| |
| static AEStreamHandle * | audioengine_make_stream (void *kodiBase, AUDIO_ENGINE_FORMAT *streamFormat, unsigned int options) |
| | Creates and returns a new handle to an IAEStream in the format specified, this function should never fail. More...
|
| |
| static void | audioengine_free_stream (void *kodiBase, AEStreamHandle *streamHandle) |
| | This method will remove the specified stream from the engine. More...
|
| |
| static bool | get_current_sink_format (void *kodiBase, AUDIO_ENGINE_FORMAT *sinkFormat) |
| | Get the current sink data format. More...
|
| |
| static unsigned int | aestream_get_space (void *kodiBase, AEStreamHandle *streamHandle) |
| | Returns the amount of space available in the stream. More...
|
| |
| static unsigned int | aestream_add_data (void *kodiBase, AEStreamHandle *streamHandle, uint8_t *const *data, unsigned int offset, unsigned int frames, double pts, bool hasDownmix, double centerMixLevel) |
| | Add planar or interleaved PCM data to the stream. More...
|
| |
| static double | aestream_get_delay (void *kodiBase, AEStreamHandle *streamHandle) |
| | Returns the time in seconds that it will take for the next added packet to be heard from the speakers. More...
|
| |
| static bool | aestream_is_buffering (void *kodiBase, AEStreamHandle *streamHandle) |
| | Returns if the stream is buffering. More...
|
| |
| static double | aestream_get_cache_time (void *kodiBase, AEStreamHandle *streamHandle) |
| | Returns the time in seconds that it will take to underrun the cache if no sample is added. More...
|
| |
| static double | aestream_get_cache_total (void *kodiBase, AEStreamHandle *streamHandle) |
| | Returns the total time in seconds of the cache. More...
|
| |
|
static void | aestream_pause (void *kodiBase, AEStreamHandle *streamHandle) |
| | Pauses the stream playback.
|
| |
|
static void | aestream_resume (void *kodiBase, AEStreamHandle *streamHandle) |
| | Resumes the stream after pausing.
|
| |
| static void | aestream_drain (void *kodiBase, AEStreamHandle *streamHandle, bool wait) |
| | Start draining the stream. More...
|
| |
|
static bool | aestream_is_draining (void *kodiBase, AEStreamHandle *streamHandle) |
| | Returns true if the is stream draining.
|
| |
|
static bool | aestream_is_drained (void *kodiBase, AEStreamHandle *streamHandle) |
| | Returns true if the is stream has finished draining.
|
| |
|
static void | aestream_flush (void *kodiBase, AEStreamHandle *streamHandle) |
| | Flush all buffers dropping the audio data.
|
| |
| static float | aestream_get_volume (void *kodiBase, AEStreamHandle *streamHandle) |
| | Return the stream's current volume level. More...
|
| |
| static void | aestream_set_volume (void *kodiBase, AEStreamHandle *streamHandle, float volume) |
| | Set the stream's volume level. More...
|
| |
| static float | aestream_get_amplification (void *kodiBase, AEStreamHandle *streamHandle) |
| | Gets the stream's volume amplification in linear units. More...
|
| |
| static void | aestream_set_amplification (void *kodiBase, AEStreamHandle *streamHandle, float amplify) |
| | Sets the stream's volume amplification in linear units. More...
|
| |
| static unsigned int | aestream_get_frame_size (void *kodiBase, AEStreamHandle *streamHandle) |
| | Returns the size of one audio frame in bytes (channelCount * resolution) More...
|
| |
| static unsigned int | aestream_get_channel_count (void *kodiBase, AEStreamHandle *streamHandle) |
| | Returns the number of channels the stream is configured to accept. More...
|
| |
| static unsigned int | aestream_get_sample_rate (void *kodiBase, AEStreamHandle *streamHandle) |
| | Returns the stream's sample rate, if the stream is using a dynamic sample rate, this value will NOT reflect any changes made by calls to SetResampleRatio() More...
|
| |
| static AudioEngineDataFormat | aestream_get_data_format (void *kodiBase, AEStreamHandle *streamHandle) |
| | Return the data format the stream has been configured with. More...
|
| |
| static double | aestream_get_resample_ratio (void *kodiBase, AEStreamHandle *streamHandle) |
| | Return the resample ratio. More...
|
| |
| static void | aestream_set_resample_ratio (void *kodiBase, AEStreamHandle *streamHandle, double ratio) |
| | Sets the resample ratio. More...
|
| |
|
| static AEChannel | TranslateAEChannelToKodi (AudioEngineChannel channel) |
| | Translation functions to separate Kodi and addons. More...
|
| |
|
static AudioEngineChannel | TranslateAEChannelToAddon (AEChannel channel) |
| |
|
static AEDataFormat | TranslateAEFormatToKodi (AudioEngineDataFormat format) |
| |
|
static AudioEngineDataFormat | TranslateAEFormatToAddon (AEDataFormat format) |
| |