From 5d3cecfea6dd1d173173ce98301cb0fd29e327c7 Mon Sep 17 00:00:00 2001 From: cam900 Date: Sat, 27 Aug 2022 18:58:49 +0900 Subject: [PATCH] Fix switch case --- src/engine/platform/pcmdac.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/engine/platform/pcmdac.cpp b/src/engine/platform/pcmdac.cpp index 4ce53925f..57f5c0026 100644 --- a/src/engine/platform/pcmdac.cpp +++ b/src/engine/platform/pcmdac.cpp @@ -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;