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:
Klaus Basan
2017-02-27 05:39:31 +01:00
committed by Mathew Sutcliffe
parent 891b67eccc
commit 7203655a05
9 changed files with 104 additions and 17 deletions

View File

@@ -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
{