Thread
:
API to play sound preview
View Single Post
bingomion
2012-08-24 , 10:27
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
Quote & Reply
|
bingomion
View Public Profile
Send a private message to bingomion
Find all posts by bingomion