Hi,
I tried to play around QSound for few days and can play a wave file successfully.
The application requires to play the sound file continuously without any gap in between, but when I tried to set the setLoops(-1), it would have a noticeable delay between each instance of wave file playing.

The logic is of my code is like this:
0) An instance of QSound is defined with proper wave file;
1) A button is defined;
2) When the button is pressed (on_button_pressed), QSound->play(); and QSound->setLoops(-1);
3) When the button is released (on_button_released), QSound->stop();

The expected effect shall be when I hold the button continuously, the play() will play continuously until I release the button.

I'm not sure if I have to use a stream like approach to take care this.
Any suggestion is much appreciated.