Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Enabling ALSA mbeq breaks app audio but manual test is fine
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
RAKK
n00b
n00b


Joined: 12 Feb 2016
Posts: 23

PostPosted: Sat Mar 12, 2016 7:52 am    Post subject: Enabling ALSA mbeq breaks app audio but manual test is fine Reply with quote

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"
   }
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum