Ref T565, setup and support for "no audio transmission" sound

* UI, added checkbox for "no audio tx"
* added in audio settings
* added in sound generator
This commit is contained in:
Klaus Basan
2019-03-13 17:26:09 +01:00
committed by Mat Sutcliffe
parent 5ac1f65756
commit 244c7e638a
7 changed files with 30 additions and 11 deletions

View File

@@ -45,11 +45,12 @@ namespace BlackMisc
NotificationTextCallsignMentioned = 1 << 5,
NotificationVoiceRoomJoined = 1 << 6,
NotificationVoiceRoomLeft = 1 << 7,
PTTClick = 1 << 8,
LoadSounds = 1 << 9, //!< end marker and force loading of sounds, keep as last element
NotificationNoAudioTransmission = 1 << 8,
PTTClick = 1 << 9,
LoadSounds = 1 << 10, //!< end marker and force loading of sounds, keep as last element
AllTextNotifications = NotificationTextMessagePrivate | NotificationTextCallsignMentioned | NotificationTextMessageSupervisor,
AllLoginNotifications = NotificationLogin | NotificationLogoff,
AllVoiceRoomNotifications = NotificationVoiceRoomJoined | NotificationVoiceRoomLeft,
AllVoiceRoomNotifications = NotificationVoiceRoomJoined | NotificationVoiceRoomLeft | NotificationNoAudioTransmission,
AllNotifications = NotificationError | AllTextNotifications | AllLoginNotifications | AllVoiceRoomNotifications,
DefaultNotifications = NotificationError | AllTextNotifications | AllLoginNotifications | AllVoiceRoomNotifications,
All = AllNotifications | PTTClick