Page 1 of 2

flashplugin and pulseaudio

Posted: Tue Sep 14, 2010 4:26 am
by enedene
Can you play music from flash player and from a local file with mplayer or anything else that uses pulseaudio?
As a test try running some mp3 and then see if you have sound in youtube videos while mp3 is playing.
If you go to sound preferences you'll see that all the applications except firefox use pulseaudio. There is obliviously some kind of conflict.
Also when I tried to reinstall the flashplugin-nonfree I got an error where I couldn't install it anymore, I've found this thread on that subject on Debian forums:
http://forums.debian.net/viewtopic.php?f=17&t=27314
Then I managed to install the flushplugin-mozilla plugin but the problem persists.

Re: flashplugin and pulseaudio

Posted: Tue Sep 14, 2010 8:22 am
by dawgdoc
I found THISpost that may resolve your issue. It begins
There is a widely known issue which is that MPD (Music player Daemon) and flash are conflicting which ends up that one of them won't have sound (the one which was started earlier). So if you want to run MPD and flash at the same time this Howto is just for you. =)

Re: flashplugin and pulseaudio

Posted: Tue Sep 14, 2010 8:41 am
by enedene
I was not aware that Linux Mint had this issue, I thought it was specific for LMDE. I've never had it on Ubuntu and Mint is based on Ubuntu, but LMDE is not.
Anyway, I solved the problem like I did on my Arch Linux main desktop, I removed the pulse audio completely and am using Alsa instead.
But it's good to know that there is a simple solution if someone else has this problem. Thank you.

Re: flashplugin and pulseaudio

Posted: Thu Sep 16, 2010 11:07 pm
by blowtorch
install

flashplugin-nonfree-extrasound

thats it enjoy

Re: flashplugin and pulseaudio

Posted: Fri Sep 17, 2010 7:40 am
by gotjazz
that's already installed and I still have no sound. Also I don't even HAVE an /etc/mpd directory that's mentioned in the other thread

Re: flashplugin and pulseaudio

Posted: Fri Sep 17, 2010 9:26 am
by Mozenrath
Try installing libflashsupport.

http://packages.ubuntu.com/hardy/libflashsupport

Re: flashplugin and pulseaudio

Posted: Fri Sep 17, 2010 10:51 am
by blowtorch
Mozenrath wrote:Try installing libflashsupport.

http://packages.ubuntu.com/hardy/libflashsupport

First off do not install ubuntu packages. Second that package is flashplugin-nonfree-extrasound in Debian! ... :wink:

Re: flashplugin and pulseaudio

Posted: Fri Sep 17, 2010 5:59 pm
by omenest
Greetings,

In order to solve problem of mutually exclusive flash player/pulse audio please try this recipe:

Code: Select all

sudo touch /etc/asound.conf

Code: Select all

sudo gedit /etc/asound.conf
paste the following code in the file asound.conf:

Code: Select all

pcm.pulse {
    type pulse
}
ctl.pulse {
    type pulse
}
pcm.!default {
    type pulse
}
ctl.!default {
    type pulse
}
Save the file
Restart your PC

This procedure solves this outsanding bug report.

source:Ubuntu forums

Re: flashplugin and pulseaudio

Posted: Sun Oct 03, 2010 4:57 am
by MrD
That 'seems' to have done the job for me! Needs to get into a sticky of 'things to do after fresh install' to bring the OS upto speed until it's fixed by update..

Re: flashplugin and pulseaudio

Posted: Tue Oct 05, 2010 8:29 am
by blowtorch
omenest wrote:Greetings,

In order to solve problem of mutually exclusive flash player/pulse audio please try this recipe:

Code: Select all

sudo touch /etc/asound.conf

Code: Select all

sudo gedit /etc/asound.conf
paste the following code in the file asound.conf:

Code: Select all

pcm.pulse {
    type pulse
}
ctl.pulse {
    type pulse
}
pcm.!default {
    type pulse
}
ctl.!default {
    type pulse
}
Save the file
Restart your PC

This procedure solves this outsanding bug report.

source:Ubuntu forums
Yep I can confirm that this works!

Re: flashplugin and pulseaudio

Posted: Tue Oct 05, 2010 8:30 am
by blowtorch
STICKY this :mrgreen:

Re: flashplugin and pulseaudio

Posted: Tue Oct 05, 2010 10:56 am
by gotjazz
oh yes!

Re: flashplugin and pulseaudio

Posted: Wed Oct 13, 2010 11:42 am
by JayKay3000
Thanks!

I was about to ask the same question till I read this.

Works fine now too.

Re: flashplugin and pulseaudio

Posted: Wed Oct 13, 2010 12:34 pm
by gotjazz
and again i request stickyness

Re: flashplugin and pulseaudio

Posted: Thu Oct 14, 2010 4:24 pm
by damienpol
omenest wrote:Greetings,

In order to solve problem of mutually exclusive flash player/pulse audio please try this recipe:

Code: Select all

sudo touch /etc/asound.conf

Code: Select all

sudo gedit /etc/asound.conf
paste the following code in the file asound.conf:

Code: Select all

pcm.pulse {
    type pulse
}
ctl.pulse {
    type pulse
}
pcm.!default {
    type pulse
}
ctl.!default {
    type pulse
}
Save the file
Restart your PC

This procedure solves this outsanding bug report.

source:Ubuntu forums
Functions halfway, you hear clicks to play both flash and other
sound source

Re: flashplugin and pulseaudio

Posted: Thu Oct 14, 2010 5:51 pm
by tdockery97
Thanks! Works for me too. :D

Re: flashplugin and pulseaudio

Posted: Sat Oct 16, 2010 4:35 pm
by damienpol
I hear pops and uneven sound when playing from two sources (flash and audio file for example), someone else is happening?.

Re: flashplugin and pulseaudio

Posted: Sat Oct 16, 2010 4:47 pm
by tdockery97
Nope. Mine is clear as a bell.

Re: flashplugin and pulseaudio

Posted: Wed Oct 20, 2010 10:13 am
by Intio
Thank you for this! Ever since I switched to LMDE my sound has always been 'flaky', in that any heavy CPU usage would always fragment and break up the sound output. Streaming online, if my mouse cursor so much as moved over an Ad, the sound would cut briefly. Heck - even the startup sound in LMDE would never play smoothly. This was all fine under Mint 9, so I has always assumed that the problem was in the Debian Multimedia repo: the one which VLC users complain about.

Now though, sound output has been restored back to what it was. If, for any reason, I cannot stream smoothe video; the sound is still unimpeeded. A great improvement.

Re: flashplugin and pulseaudio

Posted: Sat Oct 30, 2010 8:36 pm
by gotjazz
uhm at the risk of seeming a bit spammy and annoying

I can only repeat that this needs stickying - every couple of days this thread needs linking because someone new starts another "sound not working" thread without having realized it's flash/pulse -related.