No I am sure it will return zero rather than loops. Since this is what I add the last part to stop looping the voice all the time, and I am sure it have been checked. 
if we can't read pack any more and ctx->mp3LoopNum==0, we will just stop looping.