maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   How to pause audio, like when recieving sms/call/etc? (https://talk.maemo.org/showthread.php?t=86144)

bingomion 2012-08-16 09:34

How to pause audio, like when recieving sms/call/etc?
 
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

bingomion 2012-08-16 13:02

Re: How to pause audio, like when recieving sms/call/etc?
 
no one? I didn't think it was hard.. just me not knowing what to search for?

bingomion 2012-08-16 14:06

Re: How to pause audio, like when recieving sms/call/etc?
 
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 2012-08-18 00:43

Re: How to pause audio, like when recieving sms/call/etc?
 
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.


All times are GMT. The time now is 19:16.

vBulletin® Version 3.8.8