At Thu, 14 Feb 2013 11:20:11 +0800, Raymond Yau wrote:
Do the latest version of alsa-lib require any specific parameter to install on Ubuntu 12.04 for testing the channel map ?
alsa-lib/test/chmap -D hw:0 query
ALSA lib conf.c:3314:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so ALSA lib pcm.c:2223:(snd_pcm_open_noupdate) Unknown PCM hw:0 Cannot open PCM stream hw:0 for PLAYBACK
Seem you didn't install the conf_pulse module properly, no?
alsa-lib/test/chmap can be built but fail to compile aplay
make[1]: Entering directory `/home/raymond/alsa-utils/aplay' gcc -O2 -Wall -pipe -g -o aplay aplay.o -lrt -lasound -lm -ldl -lpthread aplay.o: In function `setup_chmap': /home/raymond/alsa-utils/aplay/aplay.c:1148: undefined reference to `snd_pcm_set_chmap' /home/raymond/alsa-utils/aplay/aplay.c:1152: undefined reference to `snd_pcm_get_chmap' /home/raymond/alsa-utils/aplay/aplay.c:1188: undefined reference to `snd_pcm_chmap_print' aplay.o: In function `main': /home/raymond/alsa-utils/aplay/aplay.c:707: undefined reference to `snd_pcm_chmap_parse_string' collect2: ld returned 1 exit status make[1]: *** [aplay] Error 1 make[1]: Leaving directory `/home/raymond/alsa-utils/aplay' make: *** [all-recursive] Error 1
Did you pass the proper --libdir option to configure script when you build & install alsa-lib?
Takashi