Empirical testing reveals that a smaller buffer size improves two separate issues. First, it gives much better results on devices that misreport their buffer size (Moto X is one, and it avoids a crash given that the reported buffer size was larger than the static allocation for the synth internal buffer). Second, even on devices that correctly report the buffer size, it reduces internal buffering in the OpenSL ES implementation, so this change reduces latency without impacting robustness.master
parent
838535ec9c
commit
85f4bc7512
Loading…
Reference in new issue