mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 15:45:46 +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
@@ -82,6 +82,11 @@ namespace BlackCore
|
||||
return this->m_dBusInterface->callDBusRet<CAudioDeviceInfoList>(QLatin1String("getAudioDevices"));
|
||||
}
|
||||
|
||||
CIdentifier CContextAudioProxy::audioRunsWhere() const
|
||||
{
|
||||
return this->m_dBusInterface->callDBusRet<CIdentifier>(QLatin1String("audioRunsWhere"));
|
||||
}
|
||||
|
||||
CAudioDeviceInfoList CContextAudioProxy::getCurrentAudioDevices() const
|
||||
{
|
||||
return this->m_dBusInterface->callDBusRet<CAudioDeviceInfoList>(QLatin1String("getCurrentAudioDevices"));
|
||||
|
||||
Reference in New Issue
Block a user