Reply
Thread Tools
bingomion's Avatar
Posts: 528 | Thanked: 345 times | Joined on Aug 2010 @ MLB.AU
#1
Hi there,
I'm trying to make the pulseaudio pause the current sound so I can play espeak (sms).

Like when the phone receives a sms/email or a call, it will stop playing, play the ringtone then when finished continue playing.

I've google for a while now and can't find anything.
I've googled for a dbus calls (only panucci player/media player)
I don't use either.

Does anyone know how this audio pausing is done?
This DBUS command doesn't work.
http://wiki.maemo.org/Phone_control#...rently_playing

gstreamer-tools... I can't find a CLI to it?
Anyway, hope someone can point me in the right direction
Thanks

Last edited by bingomion; 2012-08-16 at 13:01. Reason: typo
 
bingomion's Avatar
Posts: 528 | Thanked: 345 times | Joined on Aug 2010 @ MLB.AU
#2
no one? I didn't think it was hard.. just me not knowing what to search for?
 
bingomion's Avatar
Posts: 528 | Thanked: 345 times | Joined on Aug 2010 @ MLB.AU
#3
some links i've found:
After reading this:
https://bugs.maemo.org/show_bug.cgi?id=10548
http://talk.maemo.org/showthread.php?t=67157

I'm guessing it's the libplayback which controls audio playback.
 
bingomion's Avatar
Posts: 528 | Thanked: 345 times | Joined on Aug 2010 @ MLB.AU
#4
I still got nothing... Does anybody know an API which can pause/resume audio?
Then i can try compilling into an exe to use in a scrip.
 
Reply


 
Forum Jump


All times are GMT. The time now is 01:47.