MythTV
master
|
#include <mythfrontend/audiogeneralsettings.h>
Public Types | |
using | ADCMap = QMap< QString, AudioOutput::AudioDeviceConfig > |
Public Member Functions | |
AudioConfigSettings () | |
void | Load () override |
ADCMap & | AudioDeviceMap (void) |
AudioOutput::ADCVect & | AudioDeviceVect (void) |
void | CheckConfiguration (void) |
Public Member Functions inherited from GroupSetting | |
GroupSetting ()=default | |
void | edit (MythScreenType *screen) override |
void | resultEdit (DialogCompletionEvent *) override |
virtual void | applyChange () |
void | updateButton (MythUIButtonListItem *item) override |
This method is called whenever the UI need to reflect a change Reimplement this If you widget need a custom look. More... | |
virtual bool | canDelete (void) |
virtual void | deleteEntry (void) |
Public Member Functions inherited from StandardSetting | |
virtual void | setLabel (QString str) |
QString | getLabel (void) const |
virtual void | setHelpText (const QString &str) |
QString | getHelpText (void) const |
virtual void | setName (const QString &name) |
QString | getName (void) const |
StandardSetting * | byName (const QString &name) |
bool | isVisible (void) const |
bool | isEnabled () const |
bool | isReadOnly () const |
bool | haveChanged () |
Return true if the setting have changed or any of its children. More... | |
void | setChanged (bool changed) |
StandardSetting * | getParent () const |
virtual QString | getValue (void) const |
void | SetDBValue (const QString &val) override |
QString | GetDBValue (void) const override |
MythUIButtonListItem * | createButton (MythUIButtonList *list) |
virtual void | addChild (StandardSetting *child) |
virtual void | removeChild (StandardSetting *child) |
virtual QList< StandardSetting * > * | getSubSettings () |
virtual bool | haveSubSettings () |
virtual void | clearSettings () |
void | clearTargetedSettings (const QString &value) |
virtual void | Save (void) |
virtual void | Open (void) |
virtual void | Close (void) |
Storage * | GetStorage (void) const |
void | addTargetedChild (const QString &value, StandardSetting *setting) |
void | addTargetedChildren (const QString &value, std::initializer_list< StandardSetting * > settings) |
void | removeTargetedChild (const QString &value, StandardSetting *child) |
virtual bool | keyPressEvent (QKeyEvent *event) |
void | MoveToThread (QThread *thread) |
Public Member Functions inherited from StorageUser | |
virtual | ~StorageUser ()=default |
Private Slots | |
void | UpdateVisibility (StandardSetting *) |
AudioOutputSettings | UpdateCapabilities (bool restore=true, bool AC3=false) |
void | UpdateCapabilities (StandardSetting *) |
AudioOutputSettings | UpdateCapabilitiesAC3 (void) |
void | UpdateCapabilitiesAC3 (StandardSetting *) |
void | AudioRescan () |
void | UpdateAudioTest () |
Private Member Functions | |
void | setMPCMEnabled (bool flag) |
AudioDeviceComboBox * | OutputDevice () |
bool | CheckPassthrough () |
Private Attributes | |
AudioDeviceComboBox * | m_outputDevice {nullptr} |
HostComboBoxSetting * | m_maxAudioChannels {nullptr} |
HostCheckBoxSetting * | m_audioUpmix {nullptr} |
HostComboBoxSetting * | m_audioUpmixType {nullptr} |
GroupSetting * | m_triggerDigital {nullptr} |
HostCheckBoxSetting * | m_ac3PassThrough {nullptr} |
HostCheckBoxSetting * | m_dtsPassThrough {nullptr} |
HostCheckBoxSetting * | m_eac3PassThrough {nullptr} |
HostCheckBoxSetting * | m_trueHDPassThrough {nullptr} |
HostCheckBoxSetting * | m_dtsHDPassThrough {nullptr} |
HostCheckBoxSetting * | m_mpcm {nullptr} |
HostCheckBoxSetting * | m_passThroughOverride {nullptr} |
HostComboBoxSetting * | m_passThroughDeviceOverride {nullptr} |
AudioTest * | m_audioTest {nullptr} |
ADCMap | m_audioDevs |
AudioOutput::ADCVect | m_devices |
QMutex | m_slotLock |
int | m_maxSpeakers {0} |
QString | m_lastAudioDevice |
Static Private Attributes | |
static const std::array< const char *, 2 > | kMixerControlControls |
Additional Inherited Members | |
Public Slots inherited from StandardSetting | |
virtual void | setEnabled (bool enabled) |
virtual void | setReadOnly (bool readonly) |
void | setVisible (bool visible) |
virtual void | setValue (const QString &newValue) |
virtual void | setValue (int newValue) |
virtual void | childChanged (StandardSetting *) |
Signals inherited from StandardSetting | |
void | valueChanged (const QString &newValue) |
void | valueChanged (StandardSetting *setting) |
void | ShouldRedraw (StandardSetting *setting) |
void | settingsChanged (StandardSetting *selectedSetting=nullptr) |
void | ChangeSaved () |
void | helpTextChanged (const QString &newValue) |
Protected Member Functions inherited from StandardSetting | |
StandardSetting (Storage *_storage=nullptr) | |
~StandardSetting () override | |
void | setParent (StandardSetting *parent) |
Protected Attributes inherited from StandardSetting | |
QString | m_settingValue |
bool | m_enabled {true} |
bool | m_readonly {false} |
QString | m_label |
QString | m_helptext |
QString | m_name |
bool | m_visible {true} |
Definition at line 36 of file audiogeneralsettings.h.
using AudioConfigSettings::ADCMap = QMap<QString,AudioOutput::AudioDeviceConfig> |
Definition at line 44 of file audiogeneralsettings.h.
AudioConfigSettings::AudioConfigSettings | ( | ) |
Definition at line 113 of file audiogeneralsettings.cpp.
|
overridevirtual |
Reimplemented from StandardSetting.
Definition at line 228 of file audiogeneralsettings.cpp.
|
inline |
Definition at line 46 of file audiogeneralsettings.h.
Referenced by AudioDeviceComboBox::AudioDescriptionHelp().
|
inline |
Definition at line 47 of file audiogeneralsettings.h.
Referenced by AudioDeviceComboBox::AudioRescan().
void AudioConfigSettings::CheckConfiguration | ( | void | ) |
Definition at line 195 of file audiogeneralsettings.cpp.
|
privateslot |
Definition at line 267 of file audiogeneralsettings.cpp.
Referenced by AudioConfigSettings().
|
privateslot |
Definition at line 277 of file audiogeneralsettings.cpp.
Referenced by AudioConfigSettings(), AudioRescan(), UpdateAudioTest(), UpdateCapabilities(), and UpdateCapabilitiesAC3().
|
privateslot |
Definition at line 422 of file audiogeneralsettings.cpp.
|
privateslot |
Definition at line 427 of file audiogeneralsettings.cpp.
Referenced by AudioConfigSettings(), and UpdateCapabilitiesAC3().
|
privateslot |
Definition at line 432 of file audiogeneralsettings.cpp.
|
privateslot |
Definition at line 238 of file audiogeneralsettings.cpp.
Referenced by AudioConfigSettings(), and Load().
|
privateslot |
Definition at line 591 of file audiogeneralsettings.cpp.
Referenced by AudioConfigSettings().
|
private |
Definition at line 1321 of file audiogeneralsettings.cpp.
Referenced by UpdateCapabilities().
|
private |
|
staticprivate |
Definition at line 437 of file audiogeneralsettings.cpp.
Referenced by AudioConfigSettings().
|
staticprivate |
Definition at line 454 of file audiogeneralsettings.cpp.
Referenced by AudioConfigSettings().
|
staticprivate |
Definition at line 468 of file audiogeneralsettings.cpp.
Referenced by AudioConfigSettings().
|
staticprivate |
Definition at line 484 of file audiogeneralsettings.cpp.
Referenced by AudioConfigSettings().
|
staticprivate |
Definition at line 498 of file audiogeneralsettings.cpp.
Referenced by AudioConfigSettings().
|
staticprivate |
Definition at line 512 of file audiogeneralsettings.cpp.
Referenced by AudioConfigSettings().
|
staticprivate |
Definition at line 525 of file audiogeneralsettings.cpp.
Referenced by AudioConfigSettings().
|
staticprivate |
Definition at line 538 of file audiogeneralsettings.cpp.
Referenced by AudioConfigSettings().
|
staticprivate |
Definition at line 1086 of file audiogeneralsettings.cpp.
Referenced by AudioConfigSettings().
|
staticprivate |
Definition at line 1107 of file audiogeneralsettings.cpp.
Referenced by MythControlsVolume().
|
staticprivate |
Definition at line 1148 of file audiogeneralsettings.cpp.
Referenced by MythControlsVolume().
|
staticprivate |
Definition at line 1162 of file audiogeneralsettings.cpp.
Referenced by MythControlsVolume().
|
staticprivate |
Definition at line 1176 of file audiogeneralsettings.cpp.
Referenced by MythControlsVolume().
|
staticprivate |
Definition at line 1189 of file audiogeneralsettings.cpp.
Referenced by AudioConfigSettings().
|
staticprivate |
Definition at line 1204 of file audiogeneralsettings.cpp.
Referenced by AudioConfigSettings().
|
staticprivate |
Definition at line 1217 of file audiogeneralsettings.cpp.
Referenced by AudioConfigSettings().
|
staticprivate |
Definition at line 1238 of file audiogeneralsettings.cpp.
Referenced by AudioConfigSettings().
|
staticprivate |
Definition at line 1251 of file audiogeneralsettings.cpp.
|
staticprivate |
Definition at line 1264 of file audiogeneralsettings.cpp.
|
staticprivate |
Definition at line 1289 of file audiogeneralsettings.cpp.
Referenced by AudioConfigSettings().
|
staticprivate |
Definition at line 1304 of file audiogeneralsettings.cpp.
Referenced by AudioConfigSettings().
|
private |
Definition at line 551 of file audiogeneralsettings.cpp.
Referenced by CheckConfiguration().
|
private |
Definition at line 91 of file audiogeneralsettings.h.
Referenced by AudioConfigSettings(), AudioRescan(), CheckConfiguration(), UpdateAudioTest(), and UpdateCapabilities().
|
private |
Definition at line 92 of file audiogeneralsettings.h.
Referenced by AudioConfigSettings(), UpdateAudioTest(), UpdateCapabilities(), and UpdateVisibility().
|
private |
Definition at line 93 of file audiogeneralsettings.h.
Referenced by AudioConfigSettings(), and UpdateVisibility().
|
private |
Definition at line 94 of file audiogeneralsettings.h.
Referenced by AudioConfigSettings(), and UpdateVisibility().
|
private |
Definition at line 97 of file audiogeneralsettings.h.
Referenced by AudioConfigSettings(), and UpdateCapabilities().
|
private |
Definition at line 98 of file audiogeneralsettings.h.
Referenced by AudioConfigSettings(), and UpdateCapabilities().
|
private |
Definition at line 99 of file audiogeneralsettings.h.
Referenced by AudioConfigSettings(), and UpdateCapabilities().
|
private |
Definition at line 100 of file audiogeneralsettings.h.
Referenced by AudioConfigSettings(), and UpdateCapabilities().
|
private |
Definition at line 101 of file audiogeneralsettings.h.
Referenced by AudioConfigSettings(), and UpdateCapabilities().
|
private |
Definition at line 102 of file audiogeneralsettings.h.
Referenced by AudioConfigSettings(), and UpdateCapabilities().
|
private |
Definition at line 104 of file audiogeneralsettings.h.
Referenced by AudioConfigSettings(), and setMPCMEnabled().
|
private |
Definition at line 105 of file audiogeneralsettings.h.
Referenced by AudioConfigSettings(), CheckPassthrough(), UpdateAudioTest(), and UpdateCapabilities().
|
private |
Definition at line 106 of file audiogeneralsettings.h.
Referenced by AudioConfigSettings(), CheckConfiguration(), CheckPassthrough(), UpdateAudioTest(), and UpdateCapabilities().
|
private |
Definition at line 108 of file audiogeneralsettings.h.
Referenced by AudioConfigSettings(), and UpdateAudioTest().
|
private |
Definition at line 110 of file audiogeneralsettings.h.
Referenced by AudioDeviceMap(), AudioRescan(), CheckPassthrough(), and UpdateCapabilities().
|
private |
Definition at line 111 of file audiogeneralsettings.h.
Referenced by AudioDeviceVect(), AudioRescan(), and CheckPassthrough().
|
private |
Definition at line 112 of file audiogeneralsettings.h.
Referenced by AudioRescan(), and UpdateCapabilities().
|
private |
Definition at line 114 of file audiogeneralsettings.h.
Referenced by UpdateCapabilities().
|
private |
Definition at line 115 of file audiogeneralsettings.h.
Referenced by UpdateCapabilities().
|
staticprivate |
Definition at line 116 of file audiogeneralsettings.h.
Referenced by MixerControl().