By default it allows up to 16384 samples. If I edit audioSpectrumAnalyzer/src/main/res/values/arrays.xml, I can also get 32768 samples.
But if I try further values (65536, 131072), it stops working (shows empty 1D or 2D plot) if I select those values.
What else do I need to change to make it work for large windows?