more reference player work
This commit is contained in:
parent
c7fe8fea80
commit
a49306b4bd
7 changed files with 34 additions and 5 deletions
|
|
@ -265,9 +265,9 @@ void DivFilePlayer::mix(float** buf, int chans, unsigned int size) {
|
|||
while (rateAccum>=outRate) {
|
||||
rateAccum-=outRate;
|
||||
playPos++;
|
||||
if (playPos>=(ssize_t)si.frames) {
|
||||
/*if (playPos>=(ssize_t)si.frames) {
|
||||
playPos=0;
|
||||
}
|
||||
}*/
|
||||
}
|
||||
} else {
|
||||
for (int j=0; j<chans; j++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue