You are not logged in.
Hey everyone,
I've been putting off fixing this for a while, since getting the sound working was giving me trouble from the beginning. I'm still a bit of a noob when it comes to configuring ALSA and how the system works in general, so sorry if I miss something obvious or need something explained to me >.> As it has been I can only output audio with one program at a time, and I'd like to fix that now. Some quick research told me that I should use dmix, and adding this to /etc/asound.comf would enable it:
pcm.dsp {
type plug
slave.pcm "dmix"
}And I can verify that this pcm works with speaker-test -Dpcm.dsp -c 2. However, I'm not sure that programs are actually using it, since I still can't use audio with more than one program. I'm not sure if it's supposed to be listed in the output of aplay -L, but it isn't there.
There's another issue I noticed in my experiments. To get the sound working before, I had to override pcm.default to type hw, card 0, device 0. In my research and fiddling around, I noticed that in alsa.conf card 0 and device 0 are set to the defaults, and those are the ones I need to use. However, I can't remove the override since the default pcm generated by default.conf doesn't work for some reason. Also, this overridden default won't show up in aplay -L's output, or as an option in programs that have a similar list of pcm's as output device options (like vlc, or kmix).
Sorry if this sounds weird, I'm still not 100% sure what is going on here. Let me know if you need more info from me, need the output from some program, etc.
Edit: Well I found a solution. This in asound.conf:
pcm.!display {
type plug
slave.pcm "dmix"
hint {
show on
description "dmix default"
}
}Sets the dmix pcm as default, and shows it with a description. Still don't know why the generated default pcm doesn't work, but I guess it doesn't matter.
Last edited by Zixiken (2015-01-17 07:51:32)
Offline