New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LiveEffect demo corrupt audio with internal mic and speakers on Samsung S20 Ultra 5G #892
Comments
Thanks for reporting this. We don't have an S20 so this is hard for us to test.
OK, then this is NOT related to MMAP because OpenSL ES does not use MMAP. @chrbsg - can you hear your voice behind the rumbling or do you only hear the rumbling? Could you please try some tests in OboeTester, like RECORD AND PLAY? After you make a recording, you can click SHARE to send it to GDrive or GMail. Can you please enter:
and paste the results? |
I can hear my voice - if I whisper it sounds clearer, if I' speak louder then it's more distorted. There is a rumbling when not speaking, and this seems to be louder when speaking. It sounds from the recording like the played back audio is slowed down? I tried OboeTester "Record and Play". Results: (OpenSL, 48kHz, 2ch, perf=LOW_LATENCY) = ok So it looks like this is caused by using AAudio 48kHz with LOW_LATENCY. Recording with perf=NONE: oboe_recording-none.wav.gz |
|
@chrbsg - thank you so much for the info. That is super helpful. I have passed this information along to Samsung at b/159066712 |
Same here, heavy glitches on Samsung S20 Unlike @chrbsg 's result above, the problem happens for both OpenSLES and AAudio in all cases if they run in SL_ANDROID_PERFORMANCE_LATENCY or PerformanceMode::LowLatency modes, respectively. If they run in SL_ANDROID_PERFORMANCE_NONE or PerformanceMode::None, all cases work fine. This happens on the input only, the output is okay in all cases. Device info: adb shell getprop ro.build.description |
I have heard from Samsung that a fix for this has been released to the market. I do not have an S20. @chrbsg If you have that update, can you please try your test again? |
@philburk I no longer have the S20. |
The S20 input had some glitches in an early version. So we turn off MMAP in that case. We also moved the AAudioExtensions class from OboeTester into Oboe. Fixes #892
The S20 input had some glitches in an early version. So we turn off MMAP in that case. We also moved the AAudioExtensions class from OboeTester into Oboe. Fixes #892
The S20 input had some glitches in an early version. So we turn off MMAP in that case. We also moved the AAudioExtensions class from OboeTester into Oboe. Fixes #892
Android version(s): 10
Android device(s): Samsung S20 Ultra 5G
Oboe version: master
App name used for testing: LiveEffect
(Please try to reproduce the issue using the OboeTester or an Oboe sample.)
Short description
Select built-in microphone and built-in earphone speaker. Audio sounds corrupted, like a deep rumbling. On Pixel 2 XL, the same test (built-in microphone and built-in earphone speaker) sounds crystal clear.
Steps to reproduce
Load LiveEffect, select bult-in microphone, built-in earphone speaker
Select aaudio or OpenSL ES (happens on both)
Hold phone to ear and talk
Expected behavior
audio should be clear
Actual behavior
audio is not clear
Any additional context
The text was updated successfully, but these errors were encountered: