[maemo-developers] [maemo-developers] How to play a WAV from command line in 770?

From: koos vriezen koos.vriezen at gmail.com
Date: Fri Dec 22 16:54:24 EET 2006
2006/12/22, VLG <3rdshift at comcast.net>:
> Terence,
>
> have you tried hildon_play_system_sound() ?
>
> -Vlad
>
> On Thu, 2006-12-14 at 19:39 -0500, m-d at zipzero.us wrote:
[..]
> > Question 2: Is there any other way to play a .WAV file from
> > the Nokia 770 command line?

This also works:
run-standalone.sh dbus-send --dest=com.nokia.osso_media_server
--print-reply /com/nokia/osso_media_server
com.nokia.osso_media_server.music.play_media
string:file:///home/user/MyDocs/.sounds/Take_Me_Down.mp3

You will of course need to monitor dbus signals if you want eof notifications.

Koos

More information about the maemo-developers mailing list