libmodplug icon indicating copy to clipboard operation
libmodplug copied to clipboard

Having trouble looping sounds

Open danilolc opened this issue 4 years ago • 1 comments

The library isn't looping my sounds, even with the setting mLoopCount set to -1.

Why is this line commented? https://github.com/Konstanty/libmodplug/blob/d7ba5efd5816696fba668a23194940f796d62b95/src/sndmix.cpp#L368 It will always run the return FALSE on the next line and invalidate some lines of code. The loop will work again if I uncomment this line and line 401.

danilolc avatar Oct 17 '20 02:10 danilolc

These lines being commented out seems pretty pointless. I wonder if this was just an oversight that never got corrected (this issue has existed since at least 2005).

AliceLR avatar Oct 17 '20 05:10 AliceLR