mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-15 17:25:06 +00:00
Fix switch case
This commit is contained in:
parent
745837c41d
commit
5d3cecfea6
1 changed files with 2 additions and 0 deletions
|
@ -66,6 +66,7 @@ void DivPlatformPCMDAC::acquire(short* bufL, short* bufR, size_t start, size_t l
|
|||
chan.audPos=s->getLoopEndPosition()-1-(s->getLoopStartPosition()-chan.audPos);
|
||||
chan.audDir=true;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
if (chan.audPos<0) {
|
||||
chan.sample=-1;
|
||||
|
@ -90,6 +91,7 @@ void DivPlatformPCMDAC::acquire(short* bufL, short* bufR, size_t start, size_t l
|
|||
chan.audPos=s->getLoopEndPosition()-1-(s->getLoopEndPosition()-1-chan.audPos);
|
||||
chan.audDir=true;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
if (chan.audPos>=s->getEndPosition()) {
|
||||
chan.sample=-1;
|
||||
|
|
Loading…
Reference in a new issue