Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches

Bit options to pass to CAEStream
A bit field of stream options. More...

Typedefs

typedef enum AudioEngineStreamOptions AudioEngineStreamOptions
 

Enumerations

enum  AudioEngineStreamOptions { AUDIO_STREAM_FORCE_RESAMPLE = 1 << 0 , AUDIO_STREAM_PAUSED = 1 << 1 , AUDIO_STREAM_AUTOSTART = 1 << 2 }
 

Detailed Description

Bit options to pass to CAEStream
A bit field of stream options.


Usage example:

// Here only as minimal, "format" must be set to wanted types
const char unsigned int int int int int64_t int enum AudioEngineDataFormat * format
Definition addons/kodi-dev-kit/include/kodi/c-api/addon-instance/AudioDecoder.h:113
Definition kodi-dev-kit/include/kodi/AudioEngine.h:104
Definition kodi-dev-kit/include/kodi/AudioEngine.h:258
@ AUDIO_STREAM_FORCE_RESAMPLE
force resample even if rates match
Definition audio_engine.h:44
@ AUDIO_STREAM_AUTOSTART
autostart the stream when enough data is buffered
Definition audio_engine.h:48

Typedef Documentation

◆ AudioEngineStreamOptions

Enumeration Type Documentation

◆ AudioEngineStreamOptions

Enumerator
AUDIO_STREAM_FORCE_RESAMPLE 

force resample even if rates match

AUDIO_STREAM_PAUSED 

create the stream paused

AUDIO_STREAM_AUTOSTART 

autostart the stream when enough data is buffered