View Single Post
bingomion's Avatar
Posts: 528 | Thanked: 345 times | Joined on Aug 2010 @ MLB.AU
#5
Hello,
Does anyone know a commandline exe to play a wav that pulse or silences the current media player?

I had a look at osso-af-utils.. but it doesn't make sense to me what these exe's do.
Looks like espeaktime uses PulseAudio properties via the PULSE_PROP env var.

espeaktime-now.sh:
export PULSE_PROP="module-stream-restore.id=x-maemo-applet-profiles event.id=ringtone-preview"
espeak -w $fname "${@}"
play-sound $fname
rm -f $fname

This doesn't stop/silence the current audio and plays over it