mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 10:45:37 +08:00
Ref T558, play notification sound after SELCAL tone
* return SELCAL tone duration * play follow up tone
This commit is contained in:
committed by
Mat Sutcliffe
parent
94513951e1
commit
0e03e7baf0
@@ -11,16 +11,14 @@
|
||||
#ifndef BLACKSOUND_SELCALPLAYER_H
|
||||
#define BLACKSOUND_SELCALPLAYER_H
|
||||
|
||||
#include "blacksoundexport.h"
|
||||
#include "blacksound/threadedtonepairplayer.h"
|
||||
#include "blacksound/tonepair.h"
|
||||
#include "blacksoundexport.h"
|
||||
#include "blackmisc/aviation/selcal.h"
|
||||
#include "blackmisc/worker.h"
|
||||
|
||||
#include <QAudioDeviceInfo>
|
||||
|
||||
class QTimer;
|
||||
|
||||
namespace BlackSound
|
||||
{
|
||||
//! SELCAL player
|
||||
@@ -36,7 +34,8 @@ namespace BlackSound
|
||||
~CSelcalPlayer();
|
||||
|
||||
//! Play selcal
|
||||
void play(int volume, const BlackMisc::Aviation::CSelcal &selcal);
|
||||
//! \return Time of the played tone
|
||||
BlackMisc::PhysicalQuantities::CTime play(int volume, const BlackMisc::Aviation::CSelcal &selcal);
|
||||
|
||||
private:
|
||||
CThreadedTonePairPlayer m_threadedPlayer;
|
||||
|
||||
Reference in New Issue
Block a user