Playing wav or mp3 files from script on FR?
frederik.sdun at googlemail.com
Tue Sep 29 05:15:34 CEST 2009
* RANJAN <infibit at gmail.com> [28.09.2009 19:41]:
> On Mon, Sep 28, 2009 at 10:37 PM, RANJAN <infibit at gmail.com> wrote:
> On Mon, Sep 28, 2009 at 10:35 PM, RANJAN <infibit at gmail.com> wrote:
> .wav will play pretty lagfree, everything else is using gstreamer,
> 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:
> I think you were referring to this:
> So both are one and the same in terms of performance and loading speed
> in case of sound files?
> 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"
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
1. you need an absolute path to the file
2. the PlaySound method has an additional loop (=1) and length (=0)
> devel mailing list
> devel at lists.openmoko.org
IRC: playya @ Freenode, Gimpnet
xmpp: playya at draugr.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: Digital signature
Url : http://lists.openmoko.org/pipermail/devel/attachments/20090929/b5997f8d/attachment.pgp
More information about the devel