Maret 30, 2016

Arch Linux, Mplayer, and Chromium Sound Problem

This post is just a reminder whenever one day I get the same problem: no sound in browser (in this case: Chromium) while the sound is normal using mplayer (or any other command line player). Some configurations:

$HOME/.asoundrc
# Use PulseAudio by default
pcm.!default {
  type pulse
  fallback "sysdefault"
  hint {
    show on
    description "Default ALSA Output (currently PulseAudio Sound Server)"
  }
}
ctl.!default {
  type pulse
  fallback "sysdefault"
}
/etc/mplayer/mplayer.conf
ao=pulse
/etc/pulse/default.pa
.ifexists module-udev-detect.so
load-module module-udev-detect tsched=0
.else
load-module module-detect
.endif
Restart pulseaudio:
pulseaudio -k
pulseaudio --start
Restart browser. There you go. Enjoy the sound!

0 comments:

Poskan Komentar