LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Flash audio in Slackware (http://www.linuxquestions.org/questions/slackware-14/flash-audio-in-slackware-386718/)

adds2one 11-26-2005 12:30 PM

Flash audio in Slackware
 
If I log in as user1 in fluxbox I get no audio for flash plugins in firefox. If I log in as user2 in KDE I get sound but it is delayed and stutters. If I log in to either fluxbox or KDE as root I get perfect audio in flash in firefox.

I have changed permissions on /usr/lib/firefox-1.0.6/plugins folder to be:

drwxrwxrwx root users

and both of my users are members of users.

In KDE I added "artsdsp" before the firefox command. Without this I had no sound. I also adjusted the sound system auto suspend to 2 seconds and have tried selecting Run with the highest possible priority but to no avail.

I am running Slackware 10.2 kernel 2.4.31

Why does flash audio work flawlessly as root but not as users? All other audio works fine for users, just not flash. :(

Any suggestions?

adds2one 11-26-2005 12:38 PM

Fixed it with:

chmod 666 /dev/dsp0

:)

Also, in KDE I removed the artsdsp before firefox and it now works smooth.

den15 12-20-2005 12:07 PM

Hi!

I have had also to disable sound system in KDE.

cathectic 12-20-2005 12:15 PM

You should add your your users to the 'audio' group, or change the group ownership of /dev/dsp0 to users, rather than use chmod 666.

den15 12-20-2005 12:39 PM

:newbie: :) can you pls explain why is that better? what's wrong with 'chmod' ?

JockVSJock 12-20-2005 07:14 PM

Quote:

Originally Posted by adds2one
Fixed it with

Also, in KDE I removed the artsdsp before firefox and it now works smooth.

I don't understand how you did this?

Please explain...

thanks

adds2one 12-22-2005 11:55 PM

I think that my Firefox icon was executing the command "artsdsp firefox" and I just changed it to "firefox" (without the quotes of course):)

gilead 12-23-2005 02:04 PM

Quote:

Originally Posted by den15
:newbie: :) can you pls explain why is that better? what's wrong with 'chmod' ?

It's more that you avoid unwanted side-effects of changes. Reducing the security on an object may have implications for other components that use it. I don't know of any specific problems relating to audio devices though...

In other words, your solution worked but I wouldn't recommend opening permissions as a general approach to administering your box.


All times are GMT -5. The time now is 10:58 PM.