Google Chrome on Linux not using ALSA for sound

Posted by DarkMoon on Super User See other posts from Super User or by DarkMoon
Published on 2014-08-19T13:06:56Z Indexed on 2014/08/19 22:24 UTC
Read the original article Hit count: 177

Filed under:
|
|

On my laptop, I've got an .asoundrc file that outputs sound to my USB headset. This works fine for SMplayer and Firefox. However, Google Chrome (at least, Flash-based and HTML5-based videos and HTML5-based audio in Chrome) plays through the laptop speakers instead. I've tried running Chrome from a command-line, hoping there would be some helpful output, but no such luck. I've tried looking through Google for whether Chrome even uses ALSA, or if it uses something else, but I have been unsuccessful in this.

This question seems to be the same issue, but no suggestion was made.

Anyone have any ideas? I'm running Gentoo with a 3.10.17 kernel, 1.0.27 ALSA utils, 2.6.5 FVWM, and 36.0.1985.143 Chrome. If you need more info, please let me know.

EDIT:

I've configured the USB headset as the default ALSA device. Volume levels for both headset and onboard are set and un-muted using alsamixer. My .asoundrc file is as follows.

ctl.!default {
  type hw
  card Headset
}

pcm.dmixer {
  type dmix
  ipc_key 1024
  slave {
    pcm {
      type hw
      card Headset
    }
    period_size 1024
    buffer_size 4096
  }
  bindings {
    0 0
    1 1
  }
}

pcm.!default {
  type plug
  slave.pcm dmixer
}

© Super User or respective owner

Related posts about linux

Related posts about google-chrome