mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 18:25:37 +08:00
[AFV] Ref T730, use "%Application%" to split audio settings among core and UI
* both can have independent settings * user report hanging core - this seems to fix it
This commit is contained in:
@@ -22,7 +22,7 @@ namespace BlackCore
|
||||
struct TInputDevice : public BlackMisc::TSettingTrait<QString>
|
||||
{
|
||||
//! \copydoc BlackMisc::TSettingTrait::key
|
||||
static const char *key() { return "audio/inputdevice"; }
|
||||
static const char *key() { return "audio/%Application%/inputdevice"; }
|
||||
|
||||
//! \copydoc BlackMisc::TSettingTrait::humanReadable
|
||||
static const QString &humanReadable() { static const QString name("Input device"); return name; }
|
||||
@@ -35,7 +35,7 @@ namespace BlackCore
|
||||
struct TOutputDevice : public BlackMisc::TSettingTrait<QString>
|
||||
{
|
||||
//! \copydoc BlackMisc::TSettingTrait::key
|
||||
static const char *key() { return "audio/outputdevice"; }
|
||||
static const char *key() { return "audio/%Application%/outputdevice"; }
|
||||
|
||||
//! \copydoc BlackMisc::TSettingTrait::humanReadable
|
||||
static const QString &humanReadable() { static const QString name("Output device"); return name; }
|
||||
|
||||
Reference in New Issue
Block a user