You are not logged in.

#1 2014-11-30 19:02:24

toni
Member
Registered: 2011-10-15
Posts: 437

ALSA - Interferences bewteen flash plugin and spotify

I have a strange problem when playing simultaneously videos in youtube from firefox and using spotify.

I mean:
1) If I start playing videos in youtube from firefox and afterwards I start spotify, it has no audio but youtube continue having.
2) If I start spotify first, it has audio but then when I try to play a video from youtube in firefox, youtube hasn't audio and even video playback crashes.

I have tried the workaround explained in arch wiki:
Simultaneous playback problems

but it is not working.

Last edited by toni (2014-11-30 19:11:05)

Offline

#2 2014-11-30 19:17:53

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: ALSA - Interferences bewteen flash plugin and spotify

So, are you using ALSA, or pulseaudio, or a screwed-up mixture?

You should be showing your sound-related configs.

Offline

#3 2014-11-30 19:22:36

toni
Member
Registered: 2011-10-15
Posts: 437

Re: ALSA - Interferences bewteen flash plugin and spotify

brebs wrote:

So, are you using ALSA, or pulseaudio, or a screwed-up mixture?

You should be showing your sound-related configs.

Well, in fact I have a mixture, ALSA but pulseaudio also installed.

[toni@toni ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC284 Analog [ALC284 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
[toni@toni ~]$ 
[toni@toni ~]$ cat /etc/modprobe.d/alsa-base.conf 
# Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
options snd_hda_intel index=0 model=auto vid=8086 pid=0c0c
# Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 04)
options snd_hda_intel index=1 model=auto vid=8086 pid=8c20

My /etc/asound.conf is completely empty.


I have noticed that chromium is working simultaneously with spotify so it seems it is a problem in firefox.

Last edited by toni (2014-11-30 19:26:31)

Offline

#4 2014-11-30 20:07:13

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: ALSA - Interferences bewteen flash plugin and spotify

Do you have pulseaudio-alsa installed?

Offline

#5 2014-11-30 20:36:19

toni
Member
Registered: 2011-10-15
Posts: 437

Re: ALSA - Interferences bewteen flash plugin and spotify

lucke wrote:

Do you have pulseaudio-alsa installed?

Yes, I have: extra/pulseaudio-alsa 2-3

Last edited by toni (2014-11-30 20:36:59)

Offline

#6 2014-11-30 21:04:05

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: ALSA - Interferences bewteen flash plugin and spotify

The only file inside the pulseaudio-alsa package is /etc/asound.conf, so it shouldn't be empty. Reinstall the package.

Offline

#7 2014-12-08 10:08:27

toni
Member
Registered: 2011-10-15
Posts: 437

Re: ALSA - Interferences bewteen flash plugin and spotify

lucke wrote:

The only file inside the pulseaudio-alsa package is /etc/asound.conf, so it shouldn't be empty. Reinstall the package.

Well, in fact it is not empty but all commented as I don't want to have Pulse audio as default. I want to have ALSA as default so:

# 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"
#}

# vim:set ft=alsaconf:

Offline

#8 2014-12-08 11:55:37

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: ALSA - Interferences bewteen flash plugin and spotify

If you want to use ALSA as default, do you then still need to have Pulseadio installed?

Offline

#9 2014-12-08 12:30:04

toni
Member
Registered: 2011-10-15
Posts: 437

Re: ALSA - Interferences bewteen flash plugin and spotify

orschiro wrote:

If you want to use ALSA as default, do you then still need to have Pulseadio installed?

No, I don't. How can I uninstall cleanly pulseaudio from my system? It has dependencies such as gnome-settings-daemon, pulseaudio-alsa, etc....
And these ones have others dependencies....

In the arch wiki it is said to comment all lines in /etc/asound.conf file as it is easier than uninstall pulseaudio so for this reason I commented all the lines in the past.

Last edited by toni (2014-12-08 12:35:56)

Offline

#10 2014-12-08 13:16:32

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: ALSA - Interferences bewteen flash plugin and spotify

Offline

#11 2014-12-08 17:11:26

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,791

Re: ALSA - Interferences bewteen flash plugin and spotify

If one does not use Pulseaudio, then you must use a mixer to allow multiple programs to generate sound on the same sound hardware.
https://wiki.archlinux.org/index.php/Ad … cture#Dmix


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#12 2014-12-15 03:55:04

ArthurTaborda
Member
Registered: 2014-11-13
Posts: 2

Re: ALSA - Interferences bewteen flash plugin and spotify

I have the same problem. Did you manage to fix it?

Offline

Board footer

Powered by FluxBB