mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-13 03:09:59 +01:00
issue #117
This commit is contained in:
@@ -1771,7 +1771,7 @@ int sample_set_looptype(int s1, int looptype)
|
||||
sample_info *sample = sample_get(s1);
|
||||
if(!sample) return -1;
|
||||
|
||||
if (looptype == 3 || looptype == 0 || looptype == 1 || looptype == 2) {
|
||||
if( looptype >= 0 && looptype < 5 ) {
|
||||
sample->looptype = looptype;
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user