Skip to content
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

[Workaround] Repeated audio / Endless echo #109

Closed
octoghost opened this issue May 10, 2023 · 4 comments
Closed

[Workaround] Repeated audio / Endless echo #109

octoghost opened this issue May 10, 2023 · 4 comments

Comments

@octoghost
Copy link

I discovered a workaround that works on my device: add RootlessJamesDSP itself to the "Excluded Apps" list.

As I understand it, some Android custom ROMs include patches to make sure that apps can't block their sound from being captured. This way RootlessJamesDSP unrestrictedly captures itself in an infinite loop.

I couldn't find any explanation for this problem online, so I'm hoping this can be helpful to someone experiencing the same problem.

Thanks for your hard work in developing this wonderful app.

@terminal-cs
Copy link

Interesting, I'll try this later.

@terminal-cs
Copy link

Interesting, I'll try this later.

Yep, seems to fix the issue

@cbiere
Copy link

cbiere commented Sep 26, 2023

This should be the default, please.

@timschneeb
Copy link
Owner

timschneeb commented Sep 26, 2023

This app normally plays the processed audio using the ALLOW_CAPTURE_BY_NONE audio policy flag, which should prevent apps, including itself, from recording it.
But since some ROMs seem to disregard this flag, I have set this as the default now with commit 9169874.

I haven't published a new stable release yet, but precompiled APKs with the fix can be downloaded from GitHub actions: https://github.com/ThePBone/RootlessJamesDSP/actions/runs/6316049527

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants