Skip to main content
Topic: Firefox and ALSA microphone (Read 257 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Firefox and ALSA microphone

After switching to firefox to avoid horrid advert blizzard I find I have an issue getting firefox to use an alsa microphone.

This is not a permissions issue since  have set the permissions for my test site to allow both speaker output and microphone etc etc.

In eg meet.google.com I can see a microphone called default is present, but it doesn't seem to work.

I have tried many about:config changes, but none seemed to make any difference.

To avoid installing pulseaudio which is recommended I have been able to get a working microphone by using the apulse wrapper.

Has anyone else managed to get a working microphone with firefox and alsa alone?


Re: Firefox and ALSA microphone

Reply #2
useful stuff, but unfortunately the spoiler doesn't apply in my case, but  I have used the module trick on another machine with a usb speaker.. I only have one card.
Code: [Select]
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC283 Analog [ALC283 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [PHL 243V7]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC283 Analog [ALC283 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
I have this in my /etc/asound.conf
Code: [Select]
defaults.ctl.card 0
defaults.pcm.card 0
defaults.pcm.device 0
capture.pcm.default { type plug slave { pcm hw card 0 device 0 } }

I can record and playback using most apps. In firefox sound works, but the mic doesn't; I see an active mic called `default`, but it doesn't work. If I start firefox with the apulse wrapper then the mic does work it has the name `default_source_name`.

Re: Firefox and ALSA microphone

Reply #3
useful stuff, but unfortunately the spoiler doesn't apply in my case, but  I have used the module trick on another machine with a usb speaker.. I only have one card.
Ah, okay.


Quote
I can record and playback using most apps. In firefox sound works, but the mic doesn't; I see an active mic called `default`, but it doesn't work. If I start firefox with the apulse wrapper then the mic does work it has the name `default_source_name`.
I've never needed a microphone in Firefox and can't tell you more. :(