ACAT.Extensions.Default.FunctionalAgents.VolumeSettings.VolumeSettingsScanner.doVolumeTest C# (CSharp) Method

doVolumeTest() private method

Does a volume test by converting a test string to speech
private doVolumeTest ( ) : void
return void
        private void doVolumeTest()
        {
            if (!Context.AppTTSManager.ActiveEngine.IsMuted())
            {
                var vol = Context.AppTTSManager.GetNormalizedVolume();

                // send two separate commands so there is a gap in
                // the tts conversion
                Context.AppTTSManager.ActiveEngine.Speak("Volume ");
                Context.AppTTSManager.ActiveEngine.Speak(vol.Value.ToString());
            }
        }