Asle:
Fixed... When a new sample number was found, it should set the new sample offset, sample length etc, but
not reset the voice mixing position. Also, if the current channel read index >= new loop_length, then reset it to new loop_start.
Thanks a lot, I got what you meant now. I did indeed hear the difference. The "sample gets reset" click... Much better now!
http://16-bits.org/ProTracker-win32-r26012011.zip
(if you don't hear a difference, make sure you cleared the cache in your web browser, then download again)
EDIT: oops! Something is wrong now, gonna look into it.
EDIT2: Fixed! Now it's perfect. Same link