mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
[AFV] Ref T731, Ref T739 register devices so we can also obtain remote devices
This commit is contained in:
committed by
Mat Sutcliffe
parent
80725e96dc
commit
87f078a698
@@ -105,6 +105,9 @@ namespace BlackCore
|
||||
protected:
|
||||
//! Constructor
|
||||
IContextAudio(CCoreFacadeConfig::ContextMode mode, CCoreFacade *runtime);
|
||||
|
||||
//! Devices have been changed
|
||||
void onChangedLocalDevices(const BlackMisc::Audio::CAudioDeviceInfoList &devices);
|
||||
};
|
||||
|
||||
//! Audio context interface
|
||||
@@ -240,7 +243,7 @@ namespace BlackCore
|
||||
void changedMute(bool muted);
|
||||
|
||||
//! Changed audio devices (e.g. device enabled/disable)
|
||||
void changedAudioDevices(const BlackMisc::Audio::CAudioDeviceInfoList &devices);
|
||||
void changedLocalAudioDevices(const BlackMisc::Audio::CAudioDeviceInfoList &devices);
|
||||
|
||||
//! Audio started with devices
|
||||
void startedAudio(const BlackMisc::Audio::CAudioDeviceInfo &input, const BlackMisc::Audio::CAudioDeviceInfo &output);
|
||||
@@ -320,6 +323,7 @@ namespace BlackCore
|
||||
// AFV
|
||||
Afv::Clients::CAfvClient *m_voiceClient = nullptr;
|
||||
bool m_winCoInitialized = false;
|
||||
BlackMisc::Audio::CAudioDeviceInfoList m_activeLocalDevices;
|
||||
|
||||
// Players
|
||||
BlackSound::CSelcalPlayer *m_selcalPlayer = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user