mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-10 14:07:35 +08:00
In #85 the voice context will be renamed to audio context, so the CValueObject classes will be renamed to namespace Audio too. As #140 changes many CValueClasses, this crossover change is done in the same unit of work.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
#define BLACKSOUND_SOUNDGENERATOR_H
|
||||
|
||||
#include "blackmisc/avselcal.h"
|
||||
#include "blackmisc/vaudiodevice.h"
|
||||
#include "blackmisc/audiodevice.h"
|
||||
#include "blackmisc/pqtime.h"
|
||||
#include <QIODevice>
|
||||
#include <QThread>
|
||||
@@ -167,7 +167,7 @@ namespace BlackSound
|
||||
* \param audioDevice output audio device
|
||||
* \return
|
||||
*/
|
||||
static QAudioDeviceInfo findClosestOutputDevice(const BlackMisc::Voice::CAudioDevice &audioDevice);
|
||||
static QAudioDeviceInfo findClosestOutputDevice(const BlackMisc::Audio::CAudioDevice &audioDevice);
|
||||
|
||||
/*!
|
||||
* \brief Play signal of tones once
|
||||
@@ -211,7 +211,7 @@ namespace BlackSound
|
||||
* \param audioDevice device to be used
|
||||
* \see BlackMisc::Aviation::CSelcal
|
||||
*/
|
||||
static void playSelcal(qint32 volume, const BlackMisc::Aviation::CSelcal &selcal, const BlackMisc::Voice::CAudioDevice &audioDevice);
|
||||
static void playSelcal(qint32 volume, const BlackMisc::Aviation::CSelcal &selcal, const BlackMisc::Audio::CAudioDevice &audioDevice);
|
||||
|
||||
/*!
|
||||
* \brief Play notification
|
||||
@@ -247,7 +247,7 @@ namespace BlackSound
|
||||
/*!
|
||||
* \brief Play sound, open device
|
||||
* \param volume 0..100
|
||||
* \param pull if false push mode
|
||||
* \param pull pull/push, if false push mode
|
||||
*/
|
||||
void start(int volume, bool pull = true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user