You are not logged in.

#1 2013-05-18 11:45:31

doupod
Member
Registered: 2012-09-06
Posts: 76

[Audio output] Audio in only one application at the time ?

Hi,

I have a problem, but I don't know exactly where it comes from (ALSA / PulseAudio)...

I have conflicts between sound from various applications such as Mumble, VLC and flash plugin. The first launched application can play sound but the others can't.

For example, if I launch Firefox and go to grooveshark to play music (with flashplugin) and then if I launch VLC and play a movie in VLC, I don't have sound in VLC. But VLC sound control control the sound volume of grooveshark output. The same thing happens with Mumble.

I have to close firefox tab and VLC and reopen VLC to have audio in VLC.

How could I solve this ?

Thanks

Offline

#2 2013-05-18 12:04:26

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

Re: [Audio output] Audio in only one application at the time ?

See post.

Offline

#3 2013-05-20 12:13:01

doupod
Member
Registered: 2012-09-06
Posts: 76

Re: [Audio output] Audio in only one application at the time ?

I'm a little bit lost with all this stuff : pulseaudio, alsa...

Here's my asoundrc file :

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

pcm.upmix51 {
	    type upmix
		slave.pcm "surround51"
		delay 15
		channels 6
}

pcm.!default "plug:upmix51"

# vim:set ft=alsaconf:

I didn't changed much the default config apart the 5.1 upmixing.

Offline

#4 2013-05-20 12:17:32

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

Re: [Audio output] Audio in only one application at the time ?

You're mixing pulse and ALSA (via "surround51"), which is a bad idea.

Choose whether you want to use pulse for everything, or nothing.

Offline

#5 2013-05-20 16:53:14

rasertux
Member
From: Florianópolis, Brazil
Registered: 2012-03-03
Posts: 51

Re: [Audio output] Audio in only one application at the time ?

Install paprefs open it and go to simultaneous output mark the checkbox and test.


Sorry for my english.

Offline

#6 2013-05-22 21:41:29

doupod
Member
Registered: 2012-09-06
Posts: 76

Re: [Audio output] Audio in only one application at the time ?

rasertux: I tested your solution, but it didn't change anything.

brebs: I followed the wiki for upmixing here : https://wiki.archlinux.org/index.php/Alsa#Upmixing
I didn't modify much the default sound configuration. If I remove this section in asoundrc, it doesn't change anything.

I'm a bit lost between ALSA/PulseAudio/OSS and so. My goal is just to be able to have 5.1 upmixing and to play different audio sources at the time (for instance, Mumble / VLC / flashplugin). I don't know exactly which setup is the most accurate for me.

Thanks

Offline

Board footer

Powered by FluxBB