Trying to make sound files play nicely with pulse.

This commit is contained in:
Storm Dragon 2018-07-05 10:02:22 -04:00
parent 1bbe334782
commit 3fe5dd87a4
1 changed files with 1 additions and 1 deletions

View File

@ -401,7 +401,7 @@ if [ "$speakTime" == "true" ] ; then
"gama_tts")
gama_tts_wav="$(mktemp --suffix gama_talking_clock.wav)"
echo "$timeString" | gama_tts tts "${gama_tts_path:-/usr/local/share/gama_tts/data/english/vtm5}" $gama_tts_wav &> /dev/null
$soundCommand $gama_tts_wav
XDG_RUNTIME_DIR=/run/user/$UID $soundCommand $gama_tts_wav
rm $gama_tts_wav
;;
"googletts")