mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-11 14:45:33 +08:00
Remove unused "no audio transmission" notification sound
Related to #156
This commit is contained in:
@@ -519,16 +519,6 @@ namespace BlackCore::Context
|
||||
const CSettings settings = m_audioSettings.getThreadLocal();
|
||||
const bool play = !considerSettings || settings.isNotificationFlagSet(notification);
|
||||
if (!play) { return; }
|
||||
if (notification == CNotificationSounds::PTTClickKeyDown && (considerSettings && settings.noAudioTransmission()))
|
||||
{
|
||||
/*
|
||||
if (!this->canTalk())
|
||||
{
|
||||
// warning sound
|
||||
notification = CNotificationSounds::NotificationNoAudioTransmission;
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
if (volume < 0 || volume > 100)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user