mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 10:15:38 +08:00
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:
committed by
Mat Sutcliffe
parent
5ac1f65756
commit
244c7e638a
@@ -27,18 +27,20 @@ namespace BlackMisc
|
||||
static const QString left("room left");
|
||||
static const QString ptt("PTT click");
|
||||
static const QString load("load sounds");
|
||||
static const QString noaudiotx("No audio tx");
|
||||
|
||||
switch (notification)
|
||||
{
|
||||
case NotificationError: return error;
|
||||
case NotificationLogin: return login;
|
||||
case NotificationError: return error;
|
||||
case NotificationLogin: return login;
|
||||
case NotificationLogoff: return logoff;
|
||||
case NotificationTextMessagePrivate: return privateMsg;
|
||||
case NotificationTextMessagePrivate: return privateMsg;
|
||||
case NotificationTextMessageSupervisor: return supMsg;
|
||||
case NotificationTextCallsignMentioned: return mentioned;
|
||||
case NotificationVoiceRoomJoined: return joined;
|
||||
case NotificationVoiceRoomLeft: return left;
|
||||
case PTTClick: return ptt;
|
||||
case NotificationVoiceRoomLeft: return left;
|
||||
case NotificationNoAudioTransmission: return noaudiotx;
|
||||
case PTTClick: return ptt;
|
||||
case LoadSounds: return load;
|
||||
default: break;
|
||||
}
|
||||
@@ -52,8 +54,9 @@ namespace BlackMisc
|
||||
if (notification.testFlag(NotificationLogin)) n << flagToString(NotificationLogin);
|
||||
if (notification.testFlag(NotificationLogoff)) n << flagToString(NotificationLogoff);
|
||||
if (notification.testFlag(NotificationTextMessagePrivate)) n << flagToString(NotificationTextMessagePrivate);
|
||||
if (notification.testFlag(NotificationTextMessageSupervisor)) n << flagToString(NotificationTextMessageSupervisor);
|
||||
if (notification.testFlag(NotificationTextMessageSupervisor)) n << flagToString(NotificationTextMessageSupervisor);
|
||||
if (notification.testFlag(NotificationTextCallsignMentioned)) n << flagToString(NotificationTextCallsignMentioned);
|
||||
if (notification.testFlag(NotificationNoAudioTransmission)) n << flagToString(NotificationNoAudioTransmission);
|
||||
if (notification.testFlag(NotificationVoiceRoomJoined)) n << flagToString(NotificationVoiceRoomJoined);
|
||||
if (notification.testFlag(NotificationVoiceRoomLeft)) n << flagToString(NotificationVoiceRoomLeft);
|
||||
if (notification.testFlag(LoadSounds)) n << flagToString(LoadSounds);
|
||||
|
||||
Reference in New Issue
Block a user