MahadevaSwamy L

Alsa Library: Error opening PCM playback device

Discussion created by MahadevaSwamy L on Nov 11, 2011
Latest reply on Nov 14, 2011 by MahadevaSwamy L


I am running Navigation application, I am not able to hear the sound on this. It is looking for ALSA-Lib which I have selected in the LTIB-drivers.

Navigation is my application. It is not part of the LTIB.


I get following error when I run the navigation application.

Error opening PCM playback device: -6, No such device or address
ALSA lib pcm.c:2166:(snd_pcm_open_conf) symbol _snd_pcm_plug_open is not defined
 inside [builtin]


This is the output of $ cat /proc/asound/cards

 root@freescale /mnt/usb$ cat /proc/asound/cards

 0 [imx3stack      ]: SGTL5000 - imx-3stack
                      imx-3stack (SGTL5000)
 1 [imx3stackspdif ]: mxc spdif - imx-3stack-spdif
                      imx-3stack-spdif (mxc spdif)


I am attaching viewer.c(application file) and audio.c(alsa driver configuration)

Please let me where I am going wrong. Also I am attaching alsa-lib.spec file.


Kindly help.




Original Attachment has been moved to: 538-audio.c

Original Attachment has been moved to: 539-alsalib.spec

Original Attachment has been moved to: 537-viewer.c