Noise when starting to play new buffer



I am using OpenSL ES to play audio on Android. I am experiencing an issue when one buffer in the playback queue ends and another starts, there is often a slight cracking sound between them.

Is it a known issue? How can I avoid it?