* RANJAN <[email protected]> [28.09.2009 19:41]: > On Mon, Sep 28, 2009 at 10:37 PM, RANJAN <[email protected]> wrote: > > On Mon, Sep 28, 2009 at 10:35 PM, RANJAN <[email protected]> wrote: > > .wav will play pretty lagfree, everything else is using gstreamer, > so > depending on the file type, it might take a couple of hundred > milliseconds to prefill the pipeline. > > So you are referring to this one here: > > http://git.freesmartphone.org/?p=specs.git;a=blob_plain;f=html/org.freesmartphone.MusicPlayer.html;hb=HEAD#Play > > Sriranjan > > I think you were referring to this: > > http://git.freesmartphone.org/?p=specs.git;a=blob_plain;f=html/org.freesmartphone.Device.Audio.html;hb=HEAD#PlaySound > > So both are one and the same in terms of performance and loading speed > in case of sound files? > > Sriranjan > > When I type this > > $mdbus -s org.freesmartphone.Device.Audio /org/freesmartphone/Device/Audio > org.freesmartphone.Device.Audio.PlaySound '1.wav' > > I doubt my syntax at the command line is right! > > I get "service not found error" > > Sriranjan I didn't push the music player yet. This is a more like a media player, which is integrated into fso. org.freesmartphone.Device.Audio is for system sounds. 1. you need an absolute path to the file 2. the PlaySound method has an additional loop (=1) and length (=0) parameter
Regards,
Frederik
> _______________________________________________
> devel mailing list
> [email protected]
> https://lists.openmoko.org/mailman/listinfo/devel
--
IRC: playya @ Freenode, Gimpnet
xmpp: [email protected]
signature.asc
Description: Digital signature
_______________________________________________ devel mailing list [email protected] https://lists.openmoko.org/mailman/listinfo/devel
