You are not logged in.

#1 2012-04-09 21:02:49

student975
Member
From: Russian Federation
Registered: 2011-03-05
Posts: 616

firefox: no sound

Say, flash, skype, pidgin, KDE, chromium and so on - haven't any sound problem, but firefox has: I mean, say, not-flash youtube video and google translate (where mentioned chromium does work). pulse is in use as default alsa device. This is absolutely standard fragment form /etc/asound.conf:

pcm.pulse {
    type pulse
}

ctl.pulse {
    type pulse
}

pcm.!default {
    type pulse
}

ctl.!default {
    type pulse
}

Being started from CLI firefox doesn't show any crime in terminal output.

Any thoughts?


"I exist" is the best myth I know..

Offline

#2 2012-04-10 00:51:13

Ajendrex
Member
Registered: 2010-05-10
Posts: 4

Re: firefox: no sound

Same problem here, no useful thoughts for now sad

my asound.conf looks different, though...

# Use PulseAudio by default
pcm.!default {
  type pulse
  fallback "sysdefault"
  hint {
    show on
    description "Default ALSA Output (currently PulseAudio Sound Server)"
  }
}

ctl.!default {
  type pulse
  fallback "sysdefault"
}

# vim:set ft=alsaconf:

Offline

#3 2012-04-10 11:57:48

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: firefox: no sound

@ajendrex Maybe you have gnome3. Pulseaudio is a dependency for gnome3.

Offline

#4 2012-04-10 12:01:51

student975
Member
From: Russian Federation
Registered: 2011-03-05
Posts: 616

Re: firefox: no sound

@hadrons123

What is the relation with gnome3 (I haven't last one)? At my case pulse is just used to get echo cancelation for audio/video chat (alsa hasn't this feature).

Last edited by student975 (2012-04-10 12:02:09)


"I exist" is the best myth I know..

Offline

#5 2012-04-10 21:00:24

Mektub
Member
From: Lisbon /Portugal
Registered: 2008-01-02
Posts: 647

Re: firefox: no sound

I could only get sound on firefox by starting "esd" (part of esound).

I have no idea why.

Mektub


Follow me on twitter: https://twitter.com/johnbina

Offline

#6 2012-04-10 21:06:22

student975
Member
From: Russian Federation
Registered: 2011-03-05
Posts: 616

Re: firefox: no sound

Mektub, thanks, it is interesting. Probably the package was just wrongly built.

To all affected - please, vote https://bugs.archlinux.org/task/29382


"I exist" is the best myth I know..

Offline

#7 2012-04-10 23:38:18

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,168

Re: firefox: no sound

I can't get it to work in firefox either.

I am using ALSA (as I couldn't get Pulse to work in anything).

I don't have an /etc/asound.conf.

I am not using Arch's build of Firefox as it doesn't provide my preferred language for the interface. (Or it does in theory but it doesn't actually work due to a buggy language pack.)

When I tried esd it did not help but did cause other problems.

By the by, I'm really interested in "echo cancellation". What exactly does this do?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#8 2012-04-11 05:55:45

student975
Member
From: Russian Federation
Registered: 2011-03-05
Posts: 616

Re: firefox: no sound

@cfr

1. Just google for "pulseaudio echo cancelation" - there is an appropriate pulseaudio module. Say, my /etc/pulse/default.pa ends with

load-module module-echo-cancel source_name=echosource sink_name=echosink channels=1

set-default-source echosource
set-default-sink echosink

2. /etc/asound.conf is "a system-wide variant of ~/.asoundrc", and the last one is widely documented alsa configuration file. Say, if you want mpd to see alsa configuration, you need to use /etc/asound.conf instead of  ~/.asoundrc, as far as mpd starts as daemon (service) from "mpd" user.


"I exist" is the best myth I know..

Offline

#9 2012-04-12 00:47:01

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,168

Re: firefox: no sound

Thanks for the info. My problem is that if I try to use the internal microphone, it sounds as if I'm sitting with a jet engine. I was wondering if "echo cancellation" might help.

But if you can only do it with PulseAudio, maybe it is no go as I could never get sound to work at all with that...


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

Board footer

Powered by FluxBB