Re: [alsa-devel] loading mixer control values from a different file when opening an device
2 Apr
2012
2 Apr
'12
4:04 p.m.
Ziv Haziz wrote:
I have tried the method described in the link (using <> for loading other files) but I got an error - maybe I did not construct the small configuration file correctly.
Maybe, maybe not. My crystal ball broke yesterday, so I do not know what exactly you tried.
Is the <> method works like the c preprocessor #include directive?
Yes.
I put this into my ~/.asoundrc:
pcm.test { type plug slave { pcm "hw:0" channels 2 } </home/cladisch/my-ttable.conf> }
and this into ~/my-ttable.conf:
ttable [ [ 0 1 ] [ 1 0 ] ]
and it works.
Regards, Clemens
4610
Age (days ago)
4610
Last active (days ago)
0 comments
1 participants
participants (1)
-
Clemens Ladisch