SELCAL classes (CValueObject based)

This commit is contained in:
Klaus Basan
2014-01-28 00:55:50 +01:00
committed by Mathew Sutcliffe
parent 26b1193e3e
commit 5619c29cb6
5 changed files with 381 additions and 0 deletions

View File

@@ -6,6 +6,7 @@
#ifndef BLACKSOUND_SOUNDGENERATOR_H
#define BLACKSOUND_SOUNDGENERATOR_H
#include "blackmisc/avselcal.h"
#include <QIODevice>
#include <QAudioFormat>
#include <QAudioDeviceInfo>
@@ -118,6 +119,15 @@ namespace BlackSound
*/
static void playSignal(qint32 volume, const QList<Tone> &tones, QAudioDeviceInfo device = QAudioDeviceInfo::defaultOutputDevice());
/*!
* \brief Play SELCAL tone
* \param volume 0-100
* \param selcal
* \param device device to be used
* \see BlackMisc::Aviation::CSelcal
*/
static void playSelcal(qint32 volume, const BlackMisc::Aviation::CSelcal &selcal, QAudioDeviceInfo device = QAudioDeviceInfo::defaultOutputDevice());
signals:
/*!
* \brief Device was closed