RAKK n00b
Joined: 12 Feb 2016 Posts: 23
|
Posted: Sat Mar 12, 2016 7:52 am Post subject: Enabling ALSA mbeq breaks app audio but manual test is fine |
|
|
I am running Gentoo Linux using kernel Linux-4.3.3-hardened-r4 and my sound system is only ALSA, i.e. no OSS or Pulseaudio. I am trying to enable a system-wide equalizer, but since alsaequal never worked on my computer and the fix involves tinkering with the source code, I am using the mbeq plugin. I performed the steps described on this unofficial Gentoo wiki, and I can get the audio to play through the equalizer using speaker-test -D plug:eq -c 2 (and I know it works because the timbre of the white noise output is notoriously different from what I listen using speaker-test -D plug:dmix -c 2).
However, when I try to play audio using an user app like a YouTube video on Firefox or a song on Audacious, I get no sound.
This is what I pasted on /etc/asound.conf
Code: | pcm.eq {
type ladspa
slave.pcm "plug:dmix"
plugins [
{
label mbeq
id 1197
input {
# The following setting is just an example, edit to your own taste:
# bands: 50hz, 100hz, 156hz, 220hz, 311hz, 440hz, 622hz, 880hz, 1250hz, 1750hz, 25000hz,
# 50000hz, 10000hz, 20000hz
controls [ -5 -5 -5 -5 -5 -10 -20 -15 -10 -10 -10 -10 -10 -3 -2 ]
}
}
]
}
pcm.!default {
type plug
slave.pcm "eq"
}
# Redirect the OSS emulation through the EQ too (when programs are running through "aoss")
pcm.dsp0 {
type plug
slave.pcm "eq"
}
|
|
|