summaryrefslogtreecommitdiffstats
path: root/pico/tts/com_svox_picottsengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pico/tts/com_svox_picottsengine.cpp')
-rw-r--r--pico/tts/com_svox_picottsengine.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/pico/tts/com_svox_picottsengine.cpp b/pico/tts/com_svox_picottsengine.cpp
index 5e530b2..ea1b6ea 100644
--- a/pico/tts/com_svox_picottsengine.cpp
+++ b/pico/tts/com_svox_picottsengine.cpp
@@ -455,11 +455,16 @@ static char * doAddProperties( const char * str )
textlen += strlen(PICO_SPEED_CLOSE_TAG);
hasspeed = 1;
}
- if (picoProp_currVolume != PICO_DEF_VOLUME) { /* non-default volume */
+
+ // Always set the volume for now - this is to work around not being able
+ // to change the default volume.
+ // TODO: Fix the underlying problem so that default volume as defined by
+ // PICO_DEF_VOLUME is respected.
+ //if (picoProp_currVolume != PICO_DEF_VOLUME) { /* non-default volume */
textlen += strlen(PICO_VOLUME_OPEN_TAG) + 5;
textlen += strlen(PICO_VOLUME_CLOSE_TAG);
hasvol = 1;
- }
+ //}
/* Compose the property strings. */
data = (char *) malloc( textlen ); /* allocate string */