make use of sample loop flag
issue #1109 this MAY BREAK THINGS if any problems, REVERT THIS ONE
This commit is contained in:
parent
f55dbc7376
commit
0c0efaea50
5 changed files with 14 additions and 9 deletions
|
|
@ -319,7 +319,7 @@ void DivPlatformQSound::tick(bool sysTick) {
|
|||
if (length > 65536 - 16) {
|
||||
length = 65536 - 16;
|
||||
}
|
||||
if (loopStart == -1 || loopStart >= length) {
|
||||
if (!s->isLoopable()) {
|
||||
if (i<16) {
|
||||
qsound_end = offPCM[chan[i].sample] + length + 15;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue