<div dir="ltr">Hi Elimar,<div><br></div><div>Apologies for taking so many months to reply, this is unfortunately how long it took for the use case to arise again.</div><div><br></div><div>Unfortunately, your fix to asound.conf didn't help. I'm on up-to-date Debian testing, and with the contents of asound.conf you suggested (I simply copy/pasted the contents of your last email), ALSA apps now report this in the console:</div><div><br></div><div><div>ALSA lib conf.c:1385:(parse_def) device is not a compound</div><div>ALSA lib conf.c:1852:(snd_config_load1) _toplevel_:4:21:Zły argument</div><div>ALSA lib conf.c:3615:(config_file_open) /etc/asound.conf may be old or corrupted: consider to remove or fix it</div><div>ALSA lib conf.c:3537:(snd_config_hooks_call) function snd_config_hook_load returned error: Zły argument</div><div>ALSA lib conf.c:3986:(snd_config_update_r) hooks failed, removing configuration</div></div><div><br></div><div>Which means I'm back to my old hack of symlinking /dev/snd/PCMC1D0p to /dev/snd/pcmC1D3p again.</div><div><br></div><div>Regards,</div><div><br></div><div>Leszek</div><br><div class="gmail_quote"><div dir="ltr">śr., 11 sty 2017 o 19:31 użytkownik Elimar Riesebieter <<a href="mailto:riesebie@lxtec.de" target="_blank">riesebie@lxtec.de</a>> napisał:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">* Leszek Godlewski <<a href="mailto:lg@inequation.org" target="_blank">lg@inequation.org</a>> [2016-12-23 18:46 +0000]:<br>
<br>
> Hi Elimar,<br>
><br>
> If that is the case, why does ALSA_PCM_CARD work without such preparation?<br>
> /usr/share/alsa/alsa.conf contains a similar block for the card, yet it<br>
> isn't needed in /etc/asound.conf.<br>
><br>
> I will try it anyway and let you know if it worked, thanks!<br>
<br>
Any news?<br>
<br>
[...]<br>
<br>
> > As far as i understsnd the sources you must prepare your device to<br>
> > interpret ALSA_PCM_DEVICE. Try /etc/asound.conf as follows:<br>
> ><br>
> > defaults.pcm.card 0<br>
> > defaults.pcm.device 3<br>
> > defaults.pcm.device {<br>
> >     @func igetenv<br>
> >         vars [ ALSA_PCM_DEVICE ]<br>
> >         default 0<br>
> > }<br>
> ><br>
> > Now it should be possible to run<br>
> > $ ALSA_PCM_CARD=1 ALSA_PCM_DEVICE=0 mplayer test.mp3<br>
<br>
Elimar<br>
<br>
--<br>
    .~.<br>
    /V\   L   I   N   U   X<br>
   /( )\ >Phear the Penguin<<br>
   ^^-^^<br>
</blockquote></div></div>