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:
Klaus Basan
2014-06-06 10:59:53 +02:00
parent 27a697c307
commit c3f7a7c179
6 changed files with 29 additions and 9 deletions

View File

@@ -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