High latency with AAudio

Audio Latency is a known issue with Android in general, but there may be an unknown issue with different FMOD output types on specific devices. Do you have any more details on which devices they were using?
As for general latency tips:

  • Set a smaller buffer size using System::setDSPBufferSize. The lowest I have gone before noticing issues was 32.
  • Pre-load sounds with System::createSound rather than creating them as needed and playing them all at once.
  • Export your audio files in the Vorbis format and create them with the FMOD_CREATECOMPRESSEDSAMPLE flag. This will increase CPU usage but should reduce load times and memory usage.
  • Only use FMOD_CREATESTREAM for very large audio files.
1 Like