mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
refs #258, notification sound for voice rooms in context
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
#include "blackcore/keyboard.h"
|
||||
|
||||
#include <QThread>
|
||||
#include <QQueue>
|
||||
|
||||
namespace BlackCore
|
||||
{
|
||||
@@ -80,7 +81,7 @@ namespace BlackCore
|
||||
virtual void playSelcalTone(const BlackMisc::Aviation::CSelcal &selcal) const override;
|
||||
|
||||
//! \copydoc IContextAudio::playNotification()
|
||||
virtual void playNotification(uint notification) const override;
|
||||
virtual void playNotification(uint notification, bool considerSettings) const override;
|
||||
|
||||
//! \copydoc IContextAudio::runMicrophoneTest()
|
||||
virtual void runMicrophoneTest() override;
|
||||
@@ -118,6 +119,9 @@ namespace BlackCore
|
||||
void connectionStatusChanged(IVoice::ComUnit comUnit, IVoice::ConnectionStatus oldStatus, IVoice::ConnectionStatus newStatus);
|
||||
|
||||
private:
|
||||
//! Connection in transition
|
||||
bool inTransitionState() const;
|
||||
|
||||
CVoiceVatlib *m_voice; //!< underlying voice lib
|
||||
IKeyboard *m_keyboard;
|
||||
IKeyboard::RegistrationHandle m_handlePtt;
|
||||
|
||||
Reference in New Issue
Block a user