Fixed wrong text and a silence at end of audio

feature/AudioLoginLogoff
Geoffrey Merck 6 years ago
parent 990e2bba7d
commit a595af27a0

@ -476,7 +476,7 @@ void CAudioUnit::sendAck(ACK_TYPE ackType, const std::string& groupName, const s
lookup(id, "logged-in", destination); lookup(id, "logged-in", destination);
break; break;
case AT_LOGOFF: case AT_LOGOFF:
m_encoder.setTextData("Logged in"); m_encoder.setTextData("Logged off");
lookup(id, "logged-off", destination); lookup(id, "logged-off", destination);
break; break;
default: default:
@ -488,6 +488,8 @@ void CAudioUnit::sendAck(ACK_TYPE ackType, const std::string& groupName, const s
spellGroup(id, groupName, destination); spellGroup(id, groupName, destination);
lookup(id, " ", destination);
m_handler->writeHeader(header); m_handler->writeHeader(header);
} }

Loading…
Cancel
Save

Powered by TurnKey Linux.