Skip to content

Commit 25e3f3d

Browse files
committed
The masterGain method had the same bug as samplerateOffset; it only used the low two bits of the output channel.
1 parent 0192ae5 commit 25e3f3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tsunami.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ uint8_t txbuf[8];
180180
unsigned short vol;
181181
uint8_t o;
182182

183-
o = out & 0x03;
183+
o = out & 0x07;
184184
txbuf[0] = SOM1;
185185
txbuf[1] = SOM2;
186186
txbuf[2] = 0x08;

0 commit comments

Comments
 (0)