* Leszek Godlewski <l...@inequation.org> [2016-12-23 18:46 +0000]: > 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!
Any news? [...] > > 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 -- .~. /V\ L I N U X /( )\ >Phear the Penguin< ^^-^^