Another attempt at making sound playing play nice with pulse.
This commit is contained in:
parent
3fe5dd87a4
commit
dbb7c815e8
@ -401,7 +401,7 @@ if [ "$speakTime" == "true" ] ; then
|
|||||||
"gama_tts")
|
"gama_tts")
|
||||||
gama_tts_wav="$(mktemp --suffix gama_talking_clock.wav)"
|
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
|
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
|
rm $gama_tts_wav
|
||||||
;;
|
;;
|
||||||
"googletts")
|
"googletts")
|
||||||
|
Loading…
Reference in New Issue
Block a user