Another attempt at making sound playing play nice with pulse.

This commit is contained in:
Storm Dragon 2018-07-05 22:25:07 -04:00
parent 3fe5dd87a4
commit dbb7c815e8
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
XDG_RUNTIME_DIR=/run/user/$UID $soundCommand $gama_tts_wav
eval "$soundCommand $gama_tts_wav"
rm $gama_tts_wav
;;
"googletts")