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

From: VLG 3rdshift at comcast.net
Date: Fri Dec 22 06:05:38 EET 2006
Terence,

have you tried hildon_play_system_sound() ?

-Vlad

On Thu, 2006-12-14 at 19:39 -0500, m-d at zipzero.us wrote:
> I am trying to play a .WAV file from the Nokia 770 command
> line, without triggering a GUI audio player. In principle,
> this seems like the simplest thing in the world. Normally,
> I'd just use "aplay" and that would be it. 
> 
> However, although the Nokia 770 has alsa, it does not have
> aplay. So I went to install aplay. It's part of the
> alsa-utils package, and installing alsa-utils on the Nokia
> 770 is even discussed somewhat on this page:
> 
> http://maemo.org/maemowiki/EnablingGstreamerSupport
> 
> So I thought it would be simple to install alsa-utils.
> However, using the ARM build, I get this error message:
> 
> dpkg: error processing alsa-utils_1.0.8-4_arm.deb (--install):
>  package architecture (arm) does not match system (armel)
> Errors were encountered while processing:
>  alsa-utils_1.0.8-4_arm.deb
> 
> Looking around, I gather that the Nokia 770 (at least the
> 2006 edition) uses the "armel" architecture, which is
> distinct from the "arm" architecture listed on the Debian
> stable download options. I looked around for "armel" in the
> testing and unstable branches of Debian, and using google,
> but found nothing informative that way.
> 
> Question 1: Is there a way to get alsa-utils working on
> the Nokia 770, 2006 operating system?
> 
> Question 2: Is there any other way to play a .WAV file from
> the Nokia 770 command line?
> 
> I suppose it might be possible to write a driver, or tap
> into the alsa, esd or gstreamer libraries in some fashion. I
> don't have experience doing this, but am willing to learn if
> there is something possible along these lines. But it seems
> rather excessive, as playing a .WAV file is about as simple
> as it gets, and it would be surprising if there is no more
> direct way to achieve this goal.
> 
> -------------------------------------------
> Terence
> m-d at zipzero.us
> 
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers

More information about the maemo-developers mailing list