Skip to content

Commit fd8462d

Browse files
committed
will be needed eventually
1 parent 153d7d8 commit fd8462d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/LamePaulaVoice.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ void LamePaulaVoice::takeNextBuf() {
4848
}
4949

5050
ubyte LamePaulaVoice::getSample() {
51+
if (!isOn) {
52+
return 0;
53+
}
5154
stepSpeedAddPnt += stepSpeedPnt;
5255
start += ( stepSpeed + ( stepSpeedAddPnt > 65535 ) );
5356
stepSpeedAddPnt &= 65535;

0 commit comments

Comments
 (0)