Hi Elimar, If that is the case, why does ALSA_PCM_CARD work without such preparation? /usr/share/alsa/alsa.conf contains a similar block for the card, yet it isn't needed in /etc/asound.conf.
I will try it anyway and let you know if it worked, thanks! Leszek pt., 23 gru 2016 o 19:42 użytkownik Elimar Riesebieter <riese...@lxtec.de> napisał: > * Leszek Godlewski <l...@inequation.org> [2016-12-23 15:54 +0100]: > > > Package: libasound2 > > Version: 1.1.2-1 > > Severity: normal > > > > Dear Maintainer, > > [...] > > > inequation@BrixPro:~$ cat /etc/asound.conf > > defaults.pcm.card 0 > > defaults.pcm.device 3 > > As far as i understsnd the sources you must prepare your device to > interpret ALSA_PCM_DEVICE. Try /etc/asound.conf as follows: > > defaults.pcm.card 0 > defaults.pcm.device 3 > defaults.pcm.device { > @func igetenv > vars [ ALSA_PCM_DEVICE ] > default 0 > } > > Now it should be possible to run > $ ALSA_PCM_CARD=1 ALSA_PCM_DEVICE=0 mplayer test.mp3 > > > Elimar > -- > Learned men are the cisterns of knowledge, > not the fountainheads ;-) >