Open
Bug 1873199
Opened 2 years ago
Updated 2 years ago
External (stereo) microphone on Android distorted
Categories
(Core :: Audio/Video: cubeb, defect, P3)
Tracking
()
NEW
People
(Reporter: pehrsons, Unassigned)
Details
Attachments
(1 file)
|
1.02 MB,
text/plain
|
Details |
STR:
- Connect an external (stereo) USB microphone to an Android device. In my case a Deity VO-7U on a Samsung Galaxy S22.
- In Firefox open https://jsfiddle.net/pehrsons/r78o053g/show.
- Load the fiddle (if on headphones, disable all three checkboxes to get raw audio) and click "gUM Audio plain" and approve the capture.
- Say something and listen for the loopback audio, ideally on headphones.
Expected:
Voice sounds good.
Actual:
Voice is distorted. To me it sounds like mono audio interpreted as interleaved stereo before being played. I suspect any stereo input would reproduce this.
Voice sounds good in Chrome with the same setup.
Updated•2 years ago
|
Severity: -- → S3
Priority: -- → P3
Comment 1•2 years ago
|
||
Andreas, logging should make this clear:
adb shell am start -n org.mozilla.geckoview_example/.GeckoViewActivity --es env0 MOZ_LOG=cubeb:5,MediaTrackGraph:4
using GeckoView example.
Flags: needinfo?(apehrson)
| Reporter | ||
Comment 2•2 years ago
|
||
Flags: needinfo?(apehrson)
Comment 3•2 years ago
|
||
Looks like we're not reading enough input frames. We should try increasing the latencies.
You need to log in
before you can comment on or make changes to this bug.
Description
•