mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 02:35:33 +08:00
Init context devices deferred as the settings are ONLY available after DBus is initialized
* we init in a context constructor * a this time it is not clear: ** if we will use a DBus scenario ** or standalone scenario
This commit is contained in:
@@ -339,6 +339,9 @@ namespace BlackCore
|
||||
int m_outVolumeBeforeMute = 90;
|
||||
static constexpr int MinUnmuteVolume = 20; //!< minimum volume when unmuted
|
||||
|
||||
//! Do we use a local core
|
||||
static bool isRunningWithLocalCore();
|
||||
|
||||
// settings
|
||||
BlackMisc::CSetting<BlackMisc::Audio::TSettings> m_audioSettings { this, &CContextAudioBase::onChangedAudioSettings };
|
||||
BlackMisc::CSetting<BlackMisc::Audio::TVoiceSetup> m_voiceSettings { this, &CContextAudioBase::onChangedVoiceSettings };
|
||||
|
||||
Reference in New Issue
Block a user