Luca De Cicco kirjoitti 28.10.2005 kello 16.26:
Hi there.
I'm porting gpe-announce an application that gpe-calendar uses to play
scheduled alarms. Some times ago i added the support for gstreamer to
play all supported media files. This works under gpe, but i really
don't
know what gst elements i can use on n770.
As currently there is no documentation at the moment about multimedia
system, is there anyone that can help me?
Regards,
Luca
Hi,
To integrate nicely with the multimedia framework, you might want to
use the
system sound interface of the media server. That ensures any other
playback is
paused and priority given to alarm event.
AFAIK, the interface is not documented, but it's a couple of D-BUS
methods (play_sound, set_volume, stop) and allows you to play any
supported sound file by just passing the
URI to it. Hildon-libs 0.9.6 (part of original maemo 1.0 release)
contains some example
code on using the interface in src/hildon-note.c.
BR,
Lassi
_______________________________________________
maemo-developers mailing list
[email protected]
https://maemo.org/mailman/listinfo/maemo-developers