Go to the documentation of this file. 1 #ifndef MYTHAUDIOSETTINGS_H
2 #define MYTHAUDIOSETTINGS_H
32 void Load(
void)
override;
33 void Init(
void)
override;
44 using ADCMap = QMap<QString,AudioOutput::AudioDeviceConfig>;
QString m_lastAudioDevice
void togglequality(const QString &)
ButtonStandardSetting * m_surroundleft
static HostCheckBoxSetting * Audio48kOverride()
static HostCheckBoxSetting * TrueHDPassThrough()
static HostComboBoxSetting * MixerControl()
static HostComboBoxSetting * MaxAudioChannels()
AudioTestThread(QObject *parent, QString main, QString passthrough, int channels, AudioOutputSettings &settings, bool hd)
QMap< QString, AudioOutput::AudioDeviceConfig > ADCMap
static const std::array< const char *, 2 > kMixerControlControls
static HostCheckBoxSetting * SRCQualityOverride()
void UpdateVisibility(StandardSetting *)
static HostSpinBoxSetting * MixerVolume()
HostComboBoxSetting * m_passThroughDeviceOverride
static HostCheckBoxSetting * PassThroughOverride()
HostCheckBoxSetting * m_trueHDPassThrough
Screen in which all other widgets are contained and rendered.
static HostSpinBoxSetting * PCMVolume()
ButtonStandardSetting * m_frontleft
static HostComboBoxSetting * PassThroughOutputDevice()
ButtonStandardSetting * m_surroundright
TransMythUICheckBoxSetting * m_hd
HostCheckBoxSetting * m_ac3PassThrough
AudioDeviceComboBox(AudioConfigSettings *parent)
void edit(MythScreenType *screen) override
static HostCheckBoxSetting * EAC3PassThrough()
ChannelChangedEvent(QString channame, bool fulltest)
static HostCheckBoxSetting * MPCM()
static HostCheckBoxSetting * HBRPassthrough()
bool event(QEvent *event) override
void run() override
Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead.
void Load(void) override
Load data which will ultimately be displayed on-screen or used to determine what appears on-screen (S...
GroupSetting * m_triggerDigital
void setChannel(int channel)
ButtonStandardSetting * m_frontright
static HostCheckBoxSetting * MythControlsVolume()
HostComboBoxSetting * m_maxAudioChannels
HostCheckBoxSetting * m_mpcm
static const Type kEventType
void CheckConfiguration(void)
AudioOutput::ADCVect m_devices
static HostComboBoxSetting * MixerDevice()
AudioDeviceComboBox * m_outputDevice
AudioDeviceComboBox * OutputDevice()
AudioOutputSettings UpdateCapabilities(bool restore=true, bool AC3=false)
AudioConfigSettings * m_parent
void setMPCMEnabled(bool flag)
ADCMap & AudioDeviceMap(void)
AudioOutput::ADCVect & AudioDeviceVect(void)
static HostComboBoxSetting * SRCQuality()
static HostCheckBoxSetting * DTSPassThrough()
HostCheckBoxSetting * m_dtsPassThrough
AudioOutput * m_audioOutput
~AudioTestThread() override
static HostCheckBoxSetting * DTSHDPassThrough()
AudioConfigScreen(MythScreenStack *parent, const char *name, GroupSetting *groupSetting)
ButtonStandardSetting * m_center
void UpdateCapabilities(const QString &main, const QString &passthrough, int channels, const AudioOutputSettings &settings)
HostComboBoxSetting * m_audioUpmixType
AudioOutputSettings UpdateCapabilitiesAC3(void)
static HostCheckBoxSetting * AC3PassThrough()
ButtonStandardSetting * m_startButton
static HostCheckBoxSetting * AudioUpmix()
HostCheckBoxSetting * m_passThroughOverride
HostCheckBoxSetting * m_eac3PassThrough
~ChannelChangedEvent() override=default
AudioOutputSettings m_settings
This is a wrapper around QThread that does several additional things.
void AudioDescriptionHelp(StandardSetting *setting)
ButtonStandardSetting * m_rearleft
void Init(void) override
Used after calling Load() to assign data to widgets and other UI initilisation which is prohibited in...
static HostComboBoxSetting * AudioUpmixType()
ButtonStandardSetting * m_lfe
ButtonStandardSetting * m_rearright
HostCheckBoxSetting * m_dtsHDPassThrough
QVector< AudioDeviceConfig > ADCVect
static HostCheckBoxSetting * SPDIFRateOverride()
HostCheckBoxSetting * m_audioUpmix