Re: [Alsa-user] problem using getenv in asound.conf

2016-03-27 Thread covici
Clemens Ladisch wrote: > cov...@ccs.covici.com wrote: > > I am trying to use @func getenv to select my default sound card > > via a variable. I am getting errors when I do this. > > > > pcm.!default { > > type hw > > card @func getenv > > [ > > ALSACARD > > ] > > } > > @func must be inside a c

Re: [Alsa-user] problem using getenv in asound.conf

2016-03-27 Thread Clemens Ladisch
cov...@ccs.covici.com wrote: > I am trying to use @func getenv to select my default sound card > via a variable. I am getting errors when I do this. > > pcm.!default { > type hw > card @func getenv > [ > ALSACARD > ] > } @func must be inside a compound node, which then gets replaced with the val

[Alsa-user] problem using getenv in asound.conf

2016-03-24 Thread covici
Hi. I am trying to use @func getenv to select my default sound card via a variable. I am getting errors when I do this. Here is my config file pcm.!default { type hw card @func getenv [ ALSACARD ] } ctl.!default { type hw card @func getenv [ ALSACARD ] } I am setting the variable ALSACARDD