Hello,
I’m dealing with a custom ALSA setup, but so far can’t figure out how to get it working:
# Default asound.conf works great for the Master software volume.
# Using "aplay music.wav", then "alsamixer" I can adjust Master at will.
pcm.raspiaudio {
type softvol
slave.pcm "plughw:0"
control.name "Master"
control.card 0
}
pcm.!default {
type plug
slave.pcm "raspiaudio"
}
# Also the equalizer works fine (not mixed with the previous Master syntax).
# "aplay -D equal music.wav" and then "alsamixer -D equal" adjusts correctly each frequency bar.
ctl.equal {
type equal;
}
pcm.equal {
type plug;
slave.pcm plugequal;
}
pcm.plugequal {
type equal;
slave.pcm "plughw:0,0";
}
So, I need to mix both configuration files to able to control either equalization values or Master value. I mean, if I combine both configuration files then:
aplay music.wav
alsamixer # OK
alsamixer -D equal # Does not work
aplay -D equal music.wav
alsamixer # Does not work
alsamixer -D equal # OK
Am I misunderstanding the ALSA configuration file somehow?, is there any chance to combine the configuration files?.
Thanks in advance, Ibon.