Update Display.cpp

master
EA5SW 8 years ago committed by GitHub
parent 4a78d10690
commit 38bc15341a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -119,7 +119,11 @@ void CDisplay::writeDMR(unsigned int slotNo, const std::string& src, bool group,
m_mode2 = MODE_IDLE;
}
writeDMRInt(slotNo, src, group, dst, type);
//TTS
LogMessage ("Voice TG:%s",dst.c_str());
LogMessage ("Voice Callsign:%s",src.c_str());
//TTS Voice
char voice[80];
strcpy (voice,"echo \"");
if (strcmp ("",src.c_str()) !=0){
@ -195,7 +199,7 @@ for (char & c : s)
strcat(voice," Victor ");
}
else if (c == 'W'){
strcat(voice," Güisky ");
strcat(voice," Güisky ");
}
else if (c == 'X'){
strcat(voice," Exray ");

Loading…
Cancel
Save

Powered by TurnKey Linux.