http://ubuntuforums.org/showthread.php?t=32063
- We need to install libesd-alsa0 soCode:
sudo apt-get install libesd-alsa0
- We need to create /etc/asound.conf, soCode:
sudo gedit /etc/asound.conf
Code:pcm.card0 {
type hw
card 0
}
pcm.!default {
type plug
slave.pcm "dmixer"
}
pcm.dmixer {
type dmix
ipc_key 1025
slave {
pcm "hw:0,0"
period_time 0
period_size 2048 #1024
buffer_size 32768 #4096
#periods 128
rate 48000 #44100
}
bindings {
0 0
1 1
}
} - We need to change /etc/esound/esd.conf contents so:Code:
sudo mv /etc/esound/esd.conf /etc/esound/esd.conf_backup
sudo gedit /etc/esound/esd.confCode:[esd]
auto_spawn=1
spawn_options=-terminate -nobeeps -as 2 -d default
spawn_wait_ms=100
# default options are used in spawned and non-spawned mode
default_options= - Now You need to change ubuntu sound server to alsa (you can leave it ESD but better use alsa because it has better sound handling):Code:
gstreamer-properties
Correct beep-media-player configuration:* If you couldn't play any sounds using ALSA then your /etc/asound.cond & /etc/esound/esd.conf needs some more advanced tweaking (or your sound card just won't support it).
* The codes above are to be done inside a terminal window.