Hello All, I am using Davinci with AIC3204 alsa driver. Currently audio is working with OSS emulation layer of alsa using /dev/dsp Both /proc/asound/cards and /proc/asound/devices look fine.
I would like to use libasound for my application. For that, I compiled libasound (1.0.22 version) and installed that. I copied /usr/share/alsa/alsa.conf and other related files in /usr/share/alsa also. The following devices are also created. # ls -l /dev/snd -rw-r--r-- 1 root root 0 Dec 14 2009 controlC0 crw-r--r-- 1 root root 116, 4 Dec 14 2009 hwC0D0 crw-r--r-- 1 root root 116, 24 Dec 14 2009 pcmC0D0c crw-r--r-- 1 root root 116, 16 Dec 14 2009 pcmC0D0p crw-r--r-- 1 root root 116, 25 Dec 14 2009 pcmC0D1c crw-r--r-- 1 root root 116, 17 Dec 14 2009 pcmC0D1p crw-r--r-- 1 root root 116, 1 Dec 14 2009 seq crw-r--r-- 1 root root 116, 33 Dec 14 2009 timer *Wrote a simple alsa application to play audio, it is giving error at the following line. snd_pcm_open(&snd_pcm, "hw:0,0", SND_PCM_STREAM_PLAYBACK, 0); The error is ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM hw:0,0* It looks like, that this is a problem with libasound2 Is there any specific configuration that we have to do in /usr/share/alsa/alsa.conf, /etc/asound.conf or ~/.asoundrc Any help will be really appreciated. Thanks and Regards Anand
_______________________________________________ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source