LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-29-2014, 04:23 AM   #1
rubankumars
Member
 
Registered: Oct 2010
Location: india
Distribution: debian 8,debian 9,slackware 14.2
Posts: 158

Rep: Reputation: 12
No sound in firefox.but sound in kde.


i use slackware 14.1
there is no sound in firefox (during flash or any playing).
But,i hear system sounds and can play any video in xine fine.
How to solve it?
 
Old 03-29-2014, 06:42 AM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,449

Rep: Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787
This suggests that you have multiple sound devices and the one you want to use is not the default. Flash tries to use the default sound device.
Search this forum for 'flash default sound' and you will find numerous threads with solutions.
 
Old 04-02-2014, 12:39 AM   #3
Gerardo Zamudio
Member
 
Registered: Jan 2011
Distribution: Slackware
Posts: 128

Rep: Reputation: 113Reputation: 113
I just had this problem myself, this is what I did:

Code:
gerardozamudio@inara:~ $ cat ~/.asoundrc 
pcm.!default {
type hw
card 1
}

ctl.!default {
type hw
card 1
}
List your devices with aplay -l
 
Old 04-02-2014, 07:57 AM   #4
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Quote:
Originally Posted by Gerardo Zamudio View Post
I just had this problem myself, this is what I did:

Code:
gerardozamudio@inara:~ $ cat ~/.asoundrc 
pcm.!default {
type hw
card 1
}

ctl.!default {
type hw
card 1
}
List your devices with aplay -l
That's a quick fix but down the road could cause more issues. Example 1 buy a new webcam with a digital sound card embedded, Example 2 Same thing with a USB headset.Example 3 graphics cards with mini-HDMI etc etc. and on board HDMI
when the system boots it may place one of them devices as card 1. Slackware loves to do that to my webcam on a fresh install.
Best bet is search how to configure your system ALSA with multiple cards.
This is a big deal since ALSA does it all at boot time now.
So for the long term if used with multiple devices better off setting up a config file in your /etc/modprobe.d/folder.

Last edited by Drakeo; 04-03-2014 at 03:44 AM.
 
Old 04-07-2014, 07:36 AM   #5
rubankumars
Member
 
Registered: Oct 2010
Location: india
Distribution: debian 8,debian 9,slackware 14.2
Posts: 158

Original Poster
Rep: Reputation: 12
how to make one card as default device?
 
Old 04-07-2014, 08:14 AM   #6
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Quote:
Originally Posted by rubankumars View Post
how to make one card as default device?
this is mine why because I have 2 usb sound devices and a nvidi HDMI also and onboard AMD HDMI this is my /etc/modprobe.d/sound.conf
I want my onboard sound card as default
Code:
# --- ALSACONF  ---
alias char-major-116 snd
alias char-major-14 soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd slots=snd-hda-intel,snd-usb-audio
 
Old 04-07-2014, 08:42 AM   #7
Mark Pettit
Member
 
Registered: Dec 2008
Location: Cape Town, South Africa
Distribution: Slackware 15.0
Posts: 634

Rep: Reputation: 302Reputation: 302Reputation: 302Reputation: 302
No sound in Firefox ! I reckon that's a feature, not a bug :-)
 
1 members found this post helpful.
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux and ALSA default sound card, two methods fail to set firefox/chrome sound. jon_k Linux - Hardware 2 10-03-2013 07:09 AM
KDE + Flash & Firefox = sound issues BlackSheep024 Linux - Software 5 05-04-2007 02:08 AM
Flash Player, Firefox: sound in blackbox but not KDE DaneM Slackware 11 11-21-2006 01:41 PM
No sound in Firefox - but sound in KDE icpsvt Linux - General 19 03-06-2005 06:26 PM
Gentoo 64-bit on AMD. Console sound with ALSA OK, but no sound in KDE. damien Linux - Software 7 02-02-2005 01:05 AM

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

All times are GMT -5. The time now is 07:25 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