mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:35:34 +08:00
Some fixes found during testing with remote black core (different computer)
* Allow anonymous access for P2P * Fixed sound settings flags, if empty string is saved in settings * Fixed metadata registration
This commit is contained in:
@@ -168,12 +168,6 @@ namespace BlackSound
|
||||
*/
|
||||
static void playSelcal(qint32 volume, const BlackMisc::Aviation::CSelcal &selcal, const BlackMisc::Audio::CAudioDevice &audioDevice);
|
||||
|
||||
/*!
|
||||
* \brief Play notification
|
||||
* \param volume 0-100
|
||||
* \param notification
|
||||
*/
|
||||
static void playNotificationSound(qint32 volume, CNotificationSounds::Notification notification);
|
||||
|
||||
//! One cycle of tones takes t milliseconds
|
||||
BlackMisc::PhysicalQuantities::CTime oneCycleDurationMs() const
|
||||
@@ -189,6 +183,13 @@ namespace BlackSound
|
||||
*/
|
||||
static void playFile(qint32 volume, const QString &file, bool removeFileAfterPlaying);
|
||||
|
||||
/*!
|
||||
* \brief Play notification
|
||||
* \param volume 0-100
|
||||
* \param notification
|
||||
*/
|
||||
static void playNotificationSound(qint32 volume, CNotificationSounds::Notification notification);
|
||||
|
||||
signals:
|
||||
/*!
|
||||
* \brief Device was closed
|
||||
|
||||
Reference in New Issue
Block a user