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
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
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