Closed
Bug 820397
Opened 12 years ago
Closed 11 years ago
Audio device list on Linux is crazy-long
Categories
(Core :: WebRTC: Audio/Video, defect)
Tracking
()
VERIFIED
WORKSFORME
People
(Reporter: ted, Unassigned)
Details
(Whiteboard: [getUserMedia])
Attachments
(2 files)
There has to be something wrong with the audio device enumeration code on Linux, because we get a ridiculously long list of devices to choose from when you request an audio device (see attached screenshot).
Even if you leave out the Loopback devices (which I manually added by installing the alsa-loop kernel module) there are 14 devices listed for my onboard Intel audio (and a few of them look like output devices, so something is really wrong here).
Reporter | ||
Comment 1•12 years ago
|
||
This might be broken at the platform level, ALSA seems to return this huge list. We might have to filter down the results ourselves.
Comment 2•12 years ago
|
||
This looks like pulse-audio's enumeration of all of output configurations for each device. The Internet suggests the code implementing 'aplay -L' may be helpful in sorting out which is which.
In any case, it appears that every application has to write its own enumeration filtering heuristics. :(
Comment 3•12 years ago
|
||
That is, filter by device role; look for 'front' and 'sysdefault' for audio input options.
See https://github.com/xbmc/xbmc/blob/master/xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp#L679 for an output example.
Updated•12 years ago
|
Whiteboard: DUPEME
Updated•12 years ago
|
Whiteboard: DUPEME → DUPEME [getUserMedia][blocking-gum-]
Comment 4•11 years ago
|
||
This appears to be fixed (by 3.43?) in both Aurora/28 and 29. The list is small on my Fedora 19 system and comes up almost instantly now.
Status: NEW → RESOLVED
Closed: 11 years ago
status-firefox28:
--- → fixed
status-firefox29:
--- → fixed
Resolution: --- → FIXED
Whiteboard: DUPEME [getUserMedia][blocking-gum-] → [getUserMedia]
Comment 6•11 years ago
|
||
[bugday-20140122] - Works fine in the Nightly build - 29.0a1 (2014-01-22) - Win7 - 64
Updated•11 years ago
|
Resolution: FIXED → WORKSFORME
svbabukumar, can you please verify this is fixed on Aurora as well?
Flags: needinfo?(svbabukumar)
You need to log in
before you can comment on or make changes to this bug.
Description
•