I have been struggling to try to change the buffer size on any android device.
- I initialize the device,
- I get the current AudioDeviceSetup
- I set the buffer size to one of the available device buffer sizes
- I set the setup on the audioDeviceManager
On a pixel where the default buffer size is 94, this has no effect. Not a huge deal… 94 default is fine for my purposes anyway.
On a nexus where the default buffer size is a mind-boggling 1920, the app crashes on the call to ‘setAudioDeviceSetup’ (. (*Base::owner.engine)->CreateAudioPlayer(…) line 410 of juce_android_OpenSL.cpp)