You are not logged in.

#1 2017-10-02 07:02:42

alaneuler
Member
Registered: 2015-08-09
Posts: 35
Website

[Solved] Problem with play sound in Chromium while play music

Hi,

I am having problem with some sound problem with my Arch.
I can play sound and watch youtube videos in Chromium while there is no other applications using my sound card.
But if I use Audacious or play sound using `aplay` command in a terminal. Chromium will not play sound/video until I close Audacious or `aplay`.

I've looked into `dmixer`, and my .asoundrc file looks like:

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

pcm.dmixer  {
        type dmix
        ipc_key 1024
        slave {
                pcm "hw:0,0"
                period_time 0
                period_size 1024
                buffer_size 4096
                rate 44100
        }
        bindings {
                0 0
                1 1
        }
}

ctl.dmixer {
        type hw
        card 0
}

Now, I can play sound in multiple console (before configuring dmixer, I can't)
However, the problem with Chromium remains, I still can't play sound/videos while using Audacious listening to music. Actually, firefox has the same problem with my ALSA configuration.

I've googled without much useful information, and I come to here to ask for some help, Thank you in advance!

Last edited by alaneuler (2017-10-02 08:43:40)

Offline

#2 2017-10-02 07:10:27

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] Problem with play sound in Chromium while play music


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-10-02 08:43:05

alaneuler
Member
Registered: 2015-08-09
Posts: 35
Website

Re: [Solved] Problem with play sound in Chromium while play music

Thank you, installing the package pulseaudio-alsa solves my problem!

Offline

Board footer

Powered by FluxBB