From 2a388d796eb12e750e10c73d92e895f6615caf2a Mon Sep 17 00:00:00 2001 From: david Date: Thu, 6 Feb 2003 16:17:03 +0000 Subject: [PATCH] Use the property /sim/sound/voice to disable voice support even if /sim/sound/audible is true. --- src/ATC/ATCmgr.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ATC/ATCmgr.cxx b/src/ATC/ATCmgr.cxx index 485565e9f..064e0e3c1 100644 --- a/src/ATC/ATCmgr.cxx +++ b/src/ATC/ATCmgr.cxx @@ -393,7 +393,8 @@ FGATC* FGATCMgr::GetATCPointer(string icao, atc_type type) { // The repeating flag indicates whether the message should be repeated continuously or played once. void FGATCMgr::Render(string msg, string refname, bool repeating) { #ifdef ENABLE_AUDIO_SUPPORT - voice = voiceOK && fgGetBool("/sim/sound/audible"); + voice = (voiceOK && fgGetBool("/sim/sound/audible") + && fgGetBool("/sim/sound/voice")); if(voice) { int len; unsigned char* buf = v1.WriteMessage((char*)msg.c_str(), len, voice); -- 2.39.5