Kodi Documentation  18.0
Kodi is an open source media player and entertainment hub.
ActiveAE::CActiveAESettings Class Reference

#include <ActiveAESettings.h>

Inheritance diagram for ActiveAE::CActiveAESettings:
ISettingCallback

Public Member Functions

 CActiveAESettings (CActiveAE &ae)
 
virtual ~CActiveAESettings ()
 
void OnSettingChanged (std::shared_ptr< const CSetting > setting) override
 The value of the given setting has changed. More...
 
- Public Member Functions inherited from ISettingCallback
virtual ~ISettingCallback ()=default
 
virtual bool OnSettingChanging (std::shared_ptr< const CSetting > setting)
 The value of the given setting is being changed. More...
 
virtual void OnSettingAction (std::shared_ptr< const CSetting > setting)
 The given setting has been activated. More...
 
virtual bool OnSettingUpdate (std::shared_ptr< CSetting > setting, const char *oldSettingId, const TiXmlNode *oldSettingNode)
 The given setting needs to be updated. More...
 
virtual void OnSettingPropertyChanged (std::shared_ptr< const CSetting > setting, const char *propertyName)
 The given property of the given setting has changed. More...
 

Static Public Member Functions

static void SettingOptionsAudioDevicesFiller (std::shared_ptr< const CSetting > setting, std::vector< std::pair< std::string, std::string > > &list, std::string &current, void *data)
 
static void SettingOptionsAudioDevicesPassthroughFiller (std::shared_ptr< const CSetting > setting, std::vector< std::pair< std::string, std::string > > &list, std::string &current, void *data)
 
static void SettingOptionsAudioQualityLevelsFiller (std::shared_ptr< const CSetting > setting, std::vector< std::pair< std::string, int > > &list, int &current, void *data)
 
static void SettingOptionsAudioStreamsilenceFiller (std::shared_ptr< const CSetting > setting, std::vector< std::pair< std::string, int > > &list, int &current, void *data)
 
static bool IsSettingVisible (const std::string &condition, const std::string &value, std::shared_ptr< const CSetting > setting, void *data)
 

Static Protected Member Functions

static void SettingOptionsAudioDevicesFillerGeneral (std::shared_ptr< const CSetting > setting, std::vector< std::pair< std::string, std::string > > &list, std::string &current, bool passthrough)
 

Protected Attributes

CActiveAEm_audioEngine
 
CCriticalSection m_cs
 

Static Protected Attributes

static CActiveAESettingsm_instance = nullptr
 

Constructor & Destructor Documentation

§ CActiveAESettings()

ActiveAE::CActiveAESettings::CActiveAESettings ( CActiveAE ae)

§ ~CActiveAESettings()

ActiveAE::CActiveAESettings::~CActiveAESettings ( )
virtual

Member Function Documentation

§ IsSettingVisible()

bool ActiveAE::CActiveAESettings::IsSettingVisible ( const std::string &  condition,
const std::string &  value,
std::shared_ptr< const CSetting setting,
void data 
)
static

§ OnSettingChanged()

void ActiveAE::CActiveAESettings::OnSettingChanged ( std::shared_ptr< const CSetting setting)
overridevirtual

The value of the given setting has changed.

This callback is triggered whenever the value of a setting has been successfully changed (i.e. none of the OnSettingChanging() handlers) has reverted the change.

Parameters
settingThe setting whose value has been changed

Reimplemented from ISettingCallback.

§ SettingOptionsAudioDevicesFiller()

void ActiveAE::CActiveAESettings::SettingOptionsAudioDevicesFiller ( std::shared_ptr< const CSetting setting,
std::vector< std::pair< std::string, std::string > > &  list,
std::string &  current,
void data 
)
static

§ SettingOptionsAudioDevicesFillerGeneral()

void ActiveAE::CActiveAESettings::SettingOptionsAudioDevicesFillerGeneral ( std::shared_ptr< const CSetting setting,
std::vector< std::pair< std::string, std::string > > &  list,
std::string &  current,
bool  passthrough 
)
staticprotected

§ SettingOptionsAudioDevicesPassthroughFiller()

void ActiveAE::CActiveAESettings::SettingOptionsAudioDevicesPassthroughFiller ( std::shared_ptr< const CSetting setting,
std::vector< std::pair< std::string, std::string > > &  list,
std::string &  current,
void data 
)
static

§ SettingOptionsAudioQualityLevelsFiller()

void ActiveAE::CActiveAESettings::SettingOptionsAudioQualityLevelsFiller ( std::shared_ptr< const CSetting setting,
std::vector< std::pair< std::string, int > > &  list,
int &  current,
void data 
)
static

§ SettingOptionsAudioStreamsilenceFiller()

void ActiveAE::CActiveAESettings::SettingOptionsAudioStreamsilenceFiller ( std::shared_ptr< const CSetting setting,
std::vector< std::pair< std::string, int > > &  list,
int &  current,
void data 
)
static

Member Data Documentation

§ m_audioEngine

CActiveAE& ActiveAE::CActiveAESettings::m_audioEngine
protected

§ m_cs

CCriticalSection ActiveAE::CActiveAESettings::m_cs
protected

§ m_instance

CActiveAESettings * ActiveAE::CActiveAESettings::m_instance = nullptr
staticprotected

The documentation for this class was generated from the following files: