SOUNDPLAYING() always return 0 on iPhone, on PC and with GLBasic v8 this work well. I noticed because when updated to GLBasic 9, I used SOUNDPLAYING() for sound cycling, and that sound now is a continous re-loop each frame, and is annoying (or crazy).