On 03.07.2014 21:03, Martin Kolman wrote:
3.7.2014 12:57, Juho Hämäläinen:
Only one media player or audio output object can be in playing state
at given time. Last object acquiring resources gets the resources.
Will the "control" revert back to the previous owner once the
last-one-in gives up the resource ?

This would be handy for the planed voice directions in modRana for users
playing music during navigation:
0) music playing
1) modRana acquires audio, this stops music
2) modRana plays the direction message
3) modRana drops the audio resource, this restarts music playback

Yes, resources behave exactly like you have in your example.

--
juho
_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to