All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tharmarajan G <tharma@e-consystems.com>
To: Clemens Ladisch <cladisch@fastmail.net>
Cc: alsa-devel@alsa-project.org, maharajan <maharajan@e-consystems.com>
Subject: Re: aplay appication failed to open the alsa device
Date: Wed, 24 Oct 2007 15:19:47 +0530	[thread overview]
Message-ID: <1193219387.2827.47.camel@tharma.e-con> (raw)
In-Reply-To: <1193207047.11987.1217520753@webmail.messagingengine.com>

Hi Clemens,

Thanks for your reply. Still the problem is not solved.

I have downloaded the followings packages from the site
www.alsa-project.org   and built them for arm.

1. alsa-lib-1.0.14

2. alsa-utils-1.0.14


Configuring and Building instructions

pwd

/home/tharma/alsa-packages

cd alsa-lib-1.0.14

./configure --host=arm-linux --prefix=$PWD/install
CROSS_COMPILE=arm-linux-

make 

make install

cd ../alsa-utils-1.0.14

./configure --host=arm-linux --prefix=$PWD/install
CROSS_COMPILE=arm-linux
CFLAGS=-I/home/tharma/alsa-packages/alsa-lib-1.0.14/install/include
LDFLAGS=-I/home/tharma/alsa-packages/alsa-lib-1.0.14/install/lib

make 
make install


	I have got the share/alsa directory in the alsa-lib package. I have
downoaded this diretory to the /usr/share/ path in my target board. But
still the aplay application fails to open the alsa device.



Regards,
Tharmarajan G




On Wed, 2007-10-24 at 08:24 +0200, Clemens Ladisch wrote: 
> Tharmarajan G wrote:
> > 	I have built the kernel image with ALSA audio support and the
> > applications aplay and arecord for playing and recording audio data
> > using ALSA api.
> > 
> > 	I have got the alsa related entries in the /proc filesystem . But when
> > playing the aplay, it failed to open the device.
> > 
> > [root@SIRIUS /flash2]#./aplay /usr/local/Songs/AjRaj-Anthimanthirai-Theme4.mp3
> > ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM default
> 
> Apparently, alsa-lib's .conf files are not installed in /usr/share/alsa/.
> 
> 
> HTH
> Clemens
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

  reply	other threads:[~2007-10-24  9:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-24  4:41 aplay appication failed to open the alsa device Tharmarajan G
2007-10-24  5:38 ` Tharmarajan G
2007-10-24  6:24 ` Clemens Ladisch
2007-10-24  9:49   ` Tharmarajan G [this message]
2007-10-24  9:02     ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1193219387.2827.47.camel@tharma.e-con \
    --to=tharma@e-consystems.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=cladisch@fastmail.net \
    --cc=maharajan@e-consystems.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.