timschneeb / RootlessJamesDSP

An implementation of the system-wide JamesDSP audio processing engine for non-rooted Android devices
GNU General Public License v3.0
841 stars 26 forks source link

Buffer Size has no effect on latency #201

Open alsiniz opened 7 months ago

alsiniz commented 7 months ago

Currently running RootlessJamesDSP via Shizuku on Nothing Phone 2 running Nothing OS 2.5.

Audio sounds great with the arbitrary response equaliser and crossfeed save for a noticeable audio delay when watching videos.

From past experiences using DSPs on other operating systems I can usually remedy this a bit by tweaking the buffer size as low as I can get it without having issues.

However with RJDSP moving to either side of the buffer size slider has absolutely no effect on the amount of delay present in audio. It's consistently about half a second.

Is this an issue with the buffer size implementation or am I misunderstanding something?

StevenDoesStuffs commented 6 months ago

My guess would be that most of the latency comes from not the processing but rather from needing to capture the audio rather than using Android's builtin audio processing stuff. So it's basically not fixable :/.