mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 18:25:37 +08:00
refs #892, disable audio settings when no audio context is available
* Info for which machine audio setup is displayed * Obtain audio "location" * Remark: Audio can run on core and in GUI which is different from other contexts
This commit is contained in:
committed by
Mathew Sutcliffe
parent
891b67eccc
commit
7203655a05
@@ -88,6 +88,14 @@ namespace BlackCore
|
||||
logEmptyContextWarning(Q_FUNC_INFO);
|
||||
}
|
||||
|
||||
//! \copydoc IContextAudio::audioRunsWhere()
|
||||
virtual BlackMisc::CIdentifier audioRunsWhere() const override
|
||||
{
|
||||
logEmptyContextWarning(Q_FUNC_INFO);
|
||||
static const BlackMisc::CIdentifier i("CContextAudioEmpty");
|
||||
return i;
|
||||
}
|
||||
|
||||
//! \copydoc IContextAudio::getAudioDevices()
|
||||
virtual BlackMisc::Audio::CAudioDeviceInfoList getAudioDevices() const override
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user