Added looped sound playback support.