You are not logged in.

#1 2011-11-02 12:36:40

Syth
Member
Registered: 2011-09-24
Posts: 13

[Solved] Can't get sound to work proper

Hey

I use KDE4 with KMix. I have 5.1 Optical sound.
When I enter Audio Setup in KMix and test the "hw: 0,1" option I get playback.
But I haven't gottten any sound except that. Tried a video in MPlayer and Youtube video in Firefox.

I'm still abit new to Arch and linux.

Also tried adding

ctl.equal {
 type equal;
}

pcm.plugequal {
  type equal;
  # Modify the line below if you do not
  # want to use sound card 0.
  #slave.pcm "plughw:0,0";
  #by default we want to play from more sources at time:
  slave.pcm "plug:dmix";
}
#pcm.equal {
  # Or if you want the equalizer to be your
  # default soundcard comment the following
  # line and uncomment the above line.
pcm.!default {
  type plug;
  slave.pcm plugequal;
}
pcm.eq {
  type ladspa

  # The output from the EQ can either go direct to a hardware device
  # (if you have a hardware mixer, e.g. SBLive/Audigy) or it can go
  # to the software mixer shown here.
  #slave.pcm "plughw:0,0"
  slave.pcm "plug:dmix"

  # Sometimes you may need to specify the path to the plugins,
  # especially if you have just installed them.  Once you have logged
  # out/restarted this should not be necessary, but if you get errors
  # about being unable to find plugins, try uncommenting this.
  #path "/usr/lib/ladspa"

  plugins [
    {
      label mbeq
      id 1197
      input {
        #this setting is here by 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 ]
      }
    }
  ]
 }

 # Redirect the default device to go via the EQ - you may want to do
 # this last, once you're sure everything is working.  Otherwise all
 # your audio programs will break/crash if something has gone wrong.

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

To

/etc/asound.conf

Which I got from https://wiki.archlinux.org/index.php/Ad … leshooting

Last edited by Syth (2011-11-03 20:20:43)

Offline

#2 2011-11-02 14:26:13

lagagnon
Member
From: an Island in the Pacific...
Registered: 2009-12-10
Posts: 1,087
Website

Re: [Solved] Can't get sound to work proper

Post the output of "amixer" to a pastebin somewhere so we can look at it.


Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.

Offline

#3 2011-11-02 16:20:49

Syth
Member
Registered: 2011-09-24
Posts: 13

Re: [Solved] Can't get sound to work proper

http://pastebin.com/947JwKJj
Just noticed that the KDE desktop sounds works.

Offline

#4 2011-11-02 23:22:39

lagagnon
Member
From: an Island in the Pacific...
Registered: 2009-12-10
Posts: 1,087
Website

Re: [Solved] Can't get sound to work proper

Something appears wrong with your audio setup as there are too few mixer controls. Open alsamixer in a terminal, press F6 and select the correct sound device there. You should now see quite a few mixer controls. Make sure PCM, Front, Master Surround, LFE, CD, are all unmuted and levels increased.


Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.

Offline

#5 2011-11-03 11:49:56

Syth
Member
Registered: 2011-09-24
Posts: 13

Re: [Solved] Can't get sound to work proper

Well as I said. Sounds like KDE startup sound and such works. Just can't get any sound out of mPlayer and youtube.
Did what you said. PCM was the only one muted.

Offline

#6 2011-11-03 20:20:18

Syth
Member
Registered: 2011-09-24
Posts: 13

Re: [Solved] Can't get sound to work proper

It magically works now.
Thanks tho

Offline

#7 2011-11-05 00:50:59

caskale13c
Member
From: Colleyville, TX, US
Registered: 2008-12-29
Posts: 35

Re: [Solved] Can't get sound to work proper

Syth wrote:

Well as I said. Sounds like KDE startup sound and such works. Just can't get any sound out of mPlayer and youtube.
Did what you said. PCM was the only one muted.

Oddly, I recently started having the opposite problem.  KDE startup and other systems sounds have stopped playing.  All my other sound (mplayer, flash, etc) work fine.  I can play the startup sound fine when opening it via dolphin.  It just doesn't play on startup, or any other system sound.  I know this happened after a recent update but I am not sure what or when caused it.  Startup sound isn't that important to me but fixing it is.  No luck so far.

Offline

Board footer

Powered by FluxBB