You are not logged in.

#1 2011-09-10 19:14:41

insecticider
Banned
Registered: 2011-06-16
Posts: 29

[SOLVED] Issues with ALSA, alsaequal, and dmix

In chronological order:

1. ALSA works
2. Alsaequal is working systemwide
3. I can't play audio from multiple sources at the same time, basically dmix is not working.
4. Get dmix working, but then alsaequal stops working.


So how do I get dmix and alsaequal to work at the same time?


Here is my .asoundrc.  Note it was obtained from http://wiki.debian.org/InstallingDebian … ireOne_722

pcm.!default {
type plug
slave.pcm "dmixer"
}

pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hw:1,0"
period_time 0
period_size 1024
buffer_size 4096
rate 44100
}
bindings {
0 0
1 1
}
}

ctl.dmixer {
type hw
card 0
} 


Here is my /etc/asound.conf

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:1,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;
}

defaults.pcm.rate_converter "samplerate_best"

I tried combining the two files and dmix would still work but then alsaequal would have no impact on the audio playing.

Any help would be greatly appreciated.  Thanks!

Last edited by insecticider (2011-09-10 20:12:10)

Offline

#2 2011-09-10 20:12:27

insecticider
Banned
Registered: 2011-06-16
Posts: 29

Re: [SOLVED] Issues with ALSA, alsaequal, and dmix

Thanks to this thread, it's been solved.

https://bbs.archlinux.org/viewtopic.php?id=97653

Offline

Board footer

Powered by FluxBB