Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
ActiveAE::CActiveAESettings Class Reference

#include <ActiveAESettings.h>

Inheritance diagram for ActiveAE::CActiveAESettings:
ISettingCallback

Public Member Functions

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

Static Public Member Functions

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

Static Protected Member Functions

static void SettingOptionsAudioDevicesFillerGeneral (const std::shared_ptr< const CSetting > &setting, std::vector< StringSettingOption > &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 ( )
override

Member Function Documentation

◆ IsSettingVisible()

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

◆ OnSettingChanged()

void ActiveAE::CActiveAESettings::OnSettingChanged ( const 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 ( const std::shared_ptr< const CSetting > & setting,
std::vector< StringSettingOption > & list,
std::string & current,
void * data )
static

◆ SettingOptionsAudioDevicesFillerGeneral()

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

◆ SettingOptionsAudioDevicesPassthroughFiller()

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

◆ SettingOptionsAudioQualityLevelsFiller()

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

◆ SettingOptionsAudioStreamsilenceFiller()

void ActiveAE::CActiveAESettings::SettingOptionsAudioStreamsilenceFiller ( const std::shared_ptr< const CSetting > & setting,
std::vector< IntegerSettingOption > & 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: