Added possibility to start a WAV with loop feature.

Added possibility to start a WAV with loop feature.