Remove unused "no audio transmission" notification sound

Related to #156
This commit is contained in:
Lars Toenning
2023-11-07 10:08:07 +01:00
parent 3187835315
commit b57dfa1cb8
8 changed files with 9 additions and 38 deletions

View File

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