-
Notifications
You must be signed in to change notification settings - Fork 565
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
AudioEffect AcousticEchoCanceler is not working with Oboe #951
Comments
Do not create an AudioRecord. Just allocate a sessionId.
|
Thank you veyr much for the reply.
|
EXCLUSIVE streams are only supported on the new MMAP data path. Sessions and Effects are only supported on the Legacy data path. The Legacy data path will not use the FAST low-latency mixer when effects are enabled. I will review this limitation with the team. One way to achieve low latency with effects is to add your own effects above the OS. |
Thank you very much. |
@philburk I'm working to create karaoke-live-streaming app on Android. |
I improved the Effects test in OboeTester. |
Android version(s): 10
Android device(s): Google Pixle 3a
Oboe version: 1.4.2
App name used for testing: Similar to LiveEffect
Short description
In voice related application, I'm working on, I have a feedback loop and to avoid it I'm trying to apply Android AEC effect to Oboe Input stream. The acutal sample does not work: https://github.com/google/oboe/blob/master/docs/notes/effects.md
Steps to reproduce
In my case for AEC to be intialized properly I need to use such code in Java:
a few strings below there is such an activation of AEC:
Oboe stream is created later with session id from AudioRecord.
There are no errors, AEC is enabled and session id is set to Oboe Input stream. I'm still getting low-latency steam the only difference it is not Exclusive anymore (when session id is set).
I have also tried with NoiseSuppressor effect with the same result.
Expected behavior
Echo and some noise should be removed if an effect is attached.
Actual behavior
Does not work.
Looking forward to your feedback.
Thank you very much.
P.S. Probably these issues are related:
#296
#898
#85
Best,
Vladymyr.
The text was updated successfully, but these errors were encountered: