mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 11:05:33 +08:00
Ref T609, fixed signal/slot connection of cross context hookup
* audio can be local or remote special case * so we have to hookup on core or remote side depending on that
This commit is contained in:
committed by
Mat Sutcliffe
parent
105db27fa8
commit
d9948af103
@@ -57,7 +57,7 @@ namespace BlackCore
|
||||
CCoreFacade(const CCoreFacadeConfig &config, QObject *parent = nullptr);
|
||||
|
||||
//! Destructor
|
||||
virtual ~CCoreFacade() { this->gracefulShutdown(); }
|
||||
virtual ~CCoreFacade() override { this->gracefulShutdown(); }
|
||||
|
||||
//! DBus server (if applicable)
|
||||
const BlackMisc::CDBusServer *getDBusServer() const { return this->m_dbusServer; }
|
||||
@@ -123,6 +123,9 @@ namespace BlackCore
|
||||
//! \remarks only applicable for local object
|
||||
Context::CContextAudio *getCContextAudio();
|
||||
|
||||
//! Local audio context, means audio really runs here
|
||||
bool hasLocalAudio() const;
|
||||
|
||||
//! Context for audio
|
||||
//! \remarks only applicable for local object
|
||||
const Context::CContextAudio *getCContextAudio() const;
|
||||
|
||||
Reference in New Issue
Block a user