Not sure where else I would put this, so I'll put it here. I recently installed Ubuntu 5.04 (which I believe is the newest) and I'm having trouble getting dmix to work properly. I have searched for a few days now and have tried everything I've found which the results range from causing both alsa and esd to segfault, to my current state where dmix works with alsaplayer from a terminal, but it does not seem to work with applications.
My current .asoundrc is as follows
# soundcard and device to use
# dmix plugin configuration - playback mixer
ipc_key 1024 # unique IPC key
period_time 0 # reset to the default value
period_size 1024 # in bytes
# buffer_size or periods can be commented
# they both represent the same thing in different values
buffer_size 8192 # in bytes
# periods 128 # INT
# redirect default PCM device into dmix (pmix) plugin
type plug # auto rate conversion plugin
# legacy OSS /dev/dsp support, also redirects intp dmix (pmix) plugin
# redirect OSS control into used soundcard
# redirect OSS mixer into used soundcard
When I run several commands in a terminal such as
alsaplayer -o alsa some.mp3 &
for a few different mp3s at the same time, it works perfectly fine, multichannel, both songs play, no problem. But when I run xmms to use alsa, it will play with no problem, but no other application (including alsaplayer via terminal) will play sounds. I know that it is possible to get this to work on my computer because I have done it before, but I don't remember how.
Like I said, I have searched for solutions for a few days now and have tried everything I could find that detailed the solution. If anyone has any ideas or needs more details, please let me know. Thank you in advance.
[EDIT]: I forgot to mention that I do kill esd before trying anything to keep it from interfering, and if anyone can tell me how to prevent esd from starting up automatically, that would be great as well.