Sound lag in android if I use the bluetooth to listen the music.


#1

hi, i was use the fmod 4.44.61 to play my music in my app.it works fine in iOS.
but I found some times the music is very lag in android .I test several times ,find that is because I use the bluetooth headset。when I use the bluetooth headset in android, that the sound works strange .is there something I don’t to do .Please tell me how to fix it.
thanks a lot.


#2

Hi Jinjiajie,

Bluetooth headsets are difficult on Android. This is a known issue that can only really be avoided by increasing the latency. Our recommendation is to switch the output mode to AudioTrack when using Bluetooth.

https://developer.android.com/reference/android/media/AudioTrack.html

Thanks,
Richard