i-rinat / apulse

PulseAudio emulation for ALSA
MIT License
609 stars 35 forks source link

html5 usb microphone support in Firefox 52 #59

Open TJokiel opened 7 years ago

TJokiel commented 7 years ago

So far i have been happily using apulse on my system - thank you for this software!

Today i have noticed that apulse does not support usb microphone in Firefox. USB mic is skipped entirely in the dropdown menu, tested on this page: https://www.onlinemictest.com/

I assume it would not work well for systems with 2+ soundcards as input sources are named as 'default_source_name' instead of real device name so its hard to find which microphone you have actually selected in the menu.

Please consider fixing this - if possible.

Thank you.

abelits commented 7 years ago

I confirm this problem. It is caused by commit ecd5c45c71b14de8c83d6e862e3eea9daa425f8a, and disappears once it is reverted. Probably a better solution would be to update the default source and sink names with valid devices, but for now here is a patch to revert that.

apulse-revert-ecd5c45c71b14de8c83d6e862e3eea9daa425f8a.patch.txt

And the same patch applicable to the current version: apulse-revert-ecd5c45c71b14de8c83d6e862e3eea9daa425f8a-fixed.patch.txt