DSBPLAY_LOOPING

const directsound.DSBPLAY_LOOPING;

Once the end of the audio buffer is reached, play restarts at the beginning of the buffer. Play continues until explicitly stopped. This flag must be set when playing primary sound buffers.