MultiMedia Soft forum

Please login or register.

Login with username, password and session length
Advanced search  


SMF - Just Installed!

Author Topic: Setting the Loop Mode during plackback  (Read 2120 times)


  • Newbie
  • *
  • Posts: 5
    • View Profile
Setting the Loop Mode during plackback
« on: March 29, 2015, 11:58:27 AM »

Currently exploring Audio Dj Studio.NET. I've no playlist, so every time a single song is loaded in the player. I've a checkbox with text "Repeat". I want that if checkbox is checked during playback, song is repeated (infinite loop) and vice versa. Tried the loop related functions but problem is that they work like for example:

< initially checkbox is unchecked >
1: Load a song > check the checkbox > hit the play button. Song will play in loop. It's OK  :)
2: Load a song > hit the Play button > check the check box. Song will not play in loop.

What function or code I should use that can toggle the loop mode during play back.  I don't know what I'm missing. Please guide me in this regard?

Thanks and Regards.


  • Administrator
  • Sr. Member
  • *****
  • Posts: 298
    • View Profile
    • MultiMedia Soft
Re: Setting the Loop Mode during plackback
« Reply #1 on: March 29, 2015, 11:40:45 PM »


when the check box in your user interface is checked, the correct method to call is PlaySoundEnableLoop: with this method you have the possibility to put in loop mode a specific portion of sound or the full file by specifying 0 for the nFromPosition parameter and -1 for the nToPosition parameter.

Kind Regards

Severino Delaurenti
MultiMedia Soft