You are not logged in.

#1 2015-12-01 14:50:44

ltorvalds024
Member
Registered: 2015-12-01
Posts: 38
Website

[SOLVED] Sound not coming from any media player if Youtube is open

I am not getting sound on any media player (vlc, amarok) if video on YouTube is playing (even if sound muted) or paused. Sound comes if I close the Firefox window that had YouTube tab open.
I am on latest Arch Linux with KDE 5 Plasma desktop. I am using Adobe Flash player v11 in Firefox.

NOTE: I am using the work around for sound not coming if online video is played with Flash player.  Flash Player: no sound

Please tell me if any more information is need, thanks...

SOLUTION:  If that is the case, remove that .asoundrc from the link, and set the correct devices in pavucontrol (flash based streams should show up as [alsa-plugin] flashplayer or similar) (might need a reboot after removing asoundrc)

Last edited by ltorvalds024 (2015-12-04 07:28:51)


"I am slacking because my code is compiling"

Offline

#2 2015-12-01 15:32:33

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,601

Re: [SOLVED] Sound not coming from any media player if Youtube is open

Are you using pulseaudio?
Have you installed pulseaudio-alsa?


By the Way, Welcome to Arch Linux.  Interesting username :?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2015-12-01 16:11:52

ltorvalds024
Member
Registered: 2015-12-01
Posts: 38
Website

Re: [SOLVED] Sound not coming from any media player if Youtube is open

ewaller wrote:

Are you using pulseaudio?
Have you installed pulseaudio-alsa?

I have already installed pulseaudio-alsa and pulseaudio.

(new to Arch, but loving it :-)

Last edited by ltorvalds024 (2015-12-01 16:13:44)


"I am slacking because my code is compiling"

Offline

#4 2015-12-01 16:33:16

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,076

Re: [SOLVED] Sound not coming from any media player if Youtube is open

If that is the case, remove that .asoundrc from the link, and set the correct devices in pavucontrol (flash based streams should show up as [alsa-plugin] flashplayer or similar) (might need a reboot after removing asoundrc)

Offline

#5 2015-12-02 11:27:58

ltorvalds024
Member
Registered: 2015-12-01
Posts: 38
Website

Re: [SOLVED] Sound not coming from any media player if Youtube is open

V1del wrote:

If that is the case, remove that .asoundrc from the link, and set the correct devices in pavucontrol (flash based streams should show up as [alsa-plugin] flashplayer or similar) (might need a reboot after removing asoundrc)

by removing .asoundrc file I am not facing any kind of problem relating to sound. how can it is working? at first .asoundrc file helped to get sound on youtube...


"I am slacking because my code is compiling"

Offline

#6 2015-12-02 14:39:10

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,076

Re: [SOLVED] Sound not coming from any media player if Youtube is open

pulseaudio-alsa creates an /etc/asound.conf that redirects all ALSA default device requesting applications (such as the flashplayer) to pulseaudio. Pulseaudio controls which output goes to which card and this card can be dynamically switched using its tools (e.g. pavucontrol). You likely created that .asoundrc before you had pulseaudio installed/running because it is used to set the default ALSA card  to the specified card. This card however, is controlled by pulseaudio if you use it, and hence the application isn't able to access it. In ALSA only one application can have direct access to the sound card, pulseaudio does the necessary work so that you can have multiple different applications open that produce sound at the same time provided they are all being routed through pulse, which you prevented with the .asoundrc

If you consider this thread as [SOLVED], don't forget to edit your initial thread and prepend it to the title.

Offline

Board footer

Powered by FluxBB