kodi
Typedefs | Enumerations
enum AudioEngineStreamOptions

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
kodi::audioengine::AudioEngineFormat format;
m_audioengine = new kodi::audioengine::CAEStream(format, AUDIO_STREAM_FORCE_RESAMPLE | AUDIO_STREAM_AUTOSTART);

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