LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 06-04-2005, 12:24 PM   #1
puffinman
Member
 
Registered: Jan 2005
Location: Atlanta, GA
Distribution: Gentoo, Slackware
Posts: 217

Rep: Reputation: 31
Thumbs up my solution to no sound in flash


There have been several threads about sound working fine in everything except for flash. One solution that worked for some people was using artsdsp, but that never worked for me. My sound worked in flash when I first installed slack, but then at some point stopped working and I could never figure out what it was that had messed it up. While installing slack on my laptop (i'm now totally windows free!), I finally figured it out.

The gkrellm sound scope plugin.

I enabled it and flash lost its sound. I disabled it and restarted X (using fluxbox, if it matters), and it was back. I guess this isn't so much a solution as it is a diagnosis. I like the sound scope plugin but not as much as I like having sound in flash. Anyway, just wanted to share. I wonder if this is a bug in flash, in gkrell, in the plugin, in firefox, or in slack...
 
Old 06-05-2005, 05:26 AM   #2
cccc828
Member
 
Registered: Feb 2004
Location: Austria
Distribution: Slackware
Posts: 95

Rep: Reputation: 15
I think the problem is that ALSA can only handle one sound source. As the gkrellm plugin "was there" first only it's sound could be heard and all other sounds were ignored. I have the same "problem" (I love that flash has no sound): When I run XMMS I can _only_ listen too XMMS. But I am very happy that I do not have to listen to useless flash sounds and often wished I could turn off the flash sound on Windows ( if I have to use it that is).
So for me it is no problem, as I usually only have one sound source (xmms or sometimes mplayer).
 
Old 06-05-2005, 05:42 AM   #3
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,272

Rep: Reputation: 154Reputation: 154
firefox only supports OOS, so if you want to be able to play sound from firefox and say xmms then you need to use the alsa oos emulation and set up alsa as a software mixer
 
Old 06-06-2005, 12:14 AM   #4
bmfan
Member
 
Registered: Mar 2005
Posts: 74

Rep: Reputation: 15
alsa can handle as many sound sources as you can open up and run. it just needs to be configured properly
http://alsa.opensrc.org/index.php?page=AlsaSharing

all you need is an ".asoundrc" in your home directory similar to this
Code:
pcm.dmix0 {
    type dmix
    ipc_key 673138
    slave {
        pcm "hw:0,0"
        rate 48000
        period_time 80000
        buffer_time 320000
        period_size 4096
        buffer_size 16384
    }
    bindings {
        0 0
        1 1
    }
}
# 'dsp0' is espected by OSS emulation etc.
pcm.dsp0 {
    type plug
    slave.pcm "dmix0"
}
ctl.dsp0 {
    type hw
    card 0
}
pcm.!default {
    type plug
    slave.pcm "dmix0"
}
ctl.!default {
    type hw
    card 0
}
 
Old 06-06-2005, 04:00 AM   #5
acidjuice
Member
 
Registered: Jan 2005
Location: a tiny spot on the iceberg
Distribution: Slackware 10.1 (dropline 2.10, kernel 2.6.11.6)
Posts: 320

Rep: Reputation: 30
Quote:
Originally posted by phil.d.g
firefox only supports OOS, so if you want to be able to play sound from firefox and say xmms then you need to use the alsa oos emulation and set up alsa as a software mixer
yep, same here. had to recompile the kernel once to enable OSS for firefox & flash to properly work.
 
Old 06-06-2005, 08:00 AM   #6
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
Quote:
I think the problem is that ALSA can only handle one sound source.
that is not an alsa problem...it is your card.


Quote:
yep, same here. had to recompile the kernel once to enable OSS for firefox & flash to properly work.
you could have just installed alsa-oss.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with sound, when playing flash files. Flash plug-in installed. Mistreated Linux - Software 2 09-02-2004 02:13 PM
MAcromedia Flash Solution rwlyons Linux - Software 2 05-03-2004 04:01 PM
No Sound Solution - BUY NEW PCI Sound Card? SML Fedora 1 03-01-2004 11:12 PM
i can't hear sound from flash movie. something with my flash plugin? Choey Slackware 2 11-02-2003 03:53 PM
Problems installing Flash player? New Solution! moisvon Linux - Software 0 10-29-2003 12:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:31 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration