No Gaim Sounds with Rhythmbox playing.
Rune Maagensen
maillist at maagensen.com
Thu Dec 16 09:59:43 UTC 2004
adx wrote:
> Most sound cards do not support hardware mixing so they don't support
> multiple opens of/dev/dsp.
>
> If you run esd then you can get it all to work. Here's how:
>
I've tried esd, and have found to be much happier with alsa and dmix.
here's what I've done:
1) Make everything plays through alsa (or though esd through alsa)
2) make a ~/.asoundrc (see below)
3) if mplayer complains or the music skips when using console reading
long lines $echo 1024 > /proc/sys/dev/rtc/max-user-freq (read the very
end for howto do this permanently)
4) search google for "dmix alsa" if you want to know more
/Rune
$less ~/.asoundrc:
pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 8192
rate 44100
}
bindings {
0 0
1 1
}
}
pcm.asymed {
type asym
playback.pcm "dmixer"
capture.pcm "hw:0,0"
}
pcm.dsp0 {
type plug
slave.pcm "asymed"
}
pcm.!default {
type plug
slave.pcm "asymed"
}
pcm.default {
type plug
slave.pcm "asymed"
}
ctl.mixer0 {
type hw
card 0
}
---
For permanently $echo 1024 > /proc/sys/dev/rtc/max-user-freq at boot
1) sudo echo "echo 1024 > /proc/sys/dev/rtc/max-user-freq at boot" >
/etc/init.d/local
2) sudo chmod u+x /etc/init.d/local
3) sudo update-rc.d local defaults
More information about the ubuntu-users
mailing list