hrydgard/ppsspp — pull request #1805 by oioitff (2013-05-14 15:33:34+00:00)
Title: Not to loop or end audios when numSamples is 0.

Some games may check for it first and then add more data.
It was originally a hack way to force audio to loop or end when "Error decoding audio" occurs, and I think it's time to remove it for better performance.