LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 11-26-2005, 12:30 PM   #1
adds2one
Member
 
Registered: Aug 2005
Location: Vancouver, BC
Distribution: Ubuntu 6.06
Posts: 154

Rep: Reputation: 30
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?
 
Old 11-26-2005, 12:38 PM   #2
adds2one
Member
 
Registered: Aug 2005
Location: Vancouver, BC
Distribution: Ubuntu 6.06
Posts: 154

Original Poster
Rep: Reputation: 30
Fixed it with:

chmod 666 /dev/dsp0



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

Last edited by adds2one; 11-26-2005 at 12:40 PM.
 
Old 12-20-2005, 12:07 PM   #3
den15
Member
 
Registered: Oct 2005
Distribution: zenwalk
Posts: 88

Rep: Reputation: 15
Hi!

I have had also to disable sound system in KDE.
 
Old 12-20-2005, 12:15 PM   #4
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 34
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.
 
Old 12-20-2005, 12:39 PM   #5
den15
Member
 
Registered: Oct 2005
Distribution: zenwalk
Posts: 88

Rep: Reputation: 15
can you pls explain why is that better? what's wrong with 'chmod' ?
 
Old 12-20-2005, 07:14 PM   #6
JockVSJock
Member
 
Registered: Jan 2004
Posts: 602

Rep: Reputation: 31
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
 
Old 12-22-2005, 11:55 PM   #7
adds2one
Member
 
Registered: Aug 2005
Location: Vancouver, BC
Distribution: Ubuntu 6.06
Posts: 154

Original Poster
Rep: Reputation: 30
I think that my Firefox icon was executing the command "artsdsp firefox" and I just changed it to "firefox" (without the quotes of course)
 
Old 12-23-2005, 02:04 PM   #8
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 151Reputation: 151
Quote:
Originally Posted by den15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
flash player audio lag marioV Linux - Software 2 07-22-2006 02:19 AM
Required Audio Drivers for Linux Flash? Perquisitor Linux - Newbie 0 07-17-2004 05:22 PM
Audio problem in Flash player stonehurstX11 Linux - Software 0 05-10-2004 09:53 PM
Macromedia Flash Audio PROBLEM!! BlueCarrot Linux - Software 8 03-13-2004 03:07 PM
Flash Audio in Mozilla Crashed_Again Linux - Software 13 09-27-2003 02:06 PM


All times are GMT -5. The time now is 03:30 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration