Supervision: some hopeful fixes
This commit is contained in:
parent
f919d1779a
commit
0d1a482cbd
2 changed files with 8 additions and 6 deletions
|
|
@ -81,7 +81,7 @@ void DivPlatformSupervision::acquire(short** buf, size_t len) {
|
|||
tempR[0]=(((int)s[1])-128)*256;
|
||||
|
||||
for (int i=0; i<4; i++) {
|
||||
oscBuf[i]->putSample(h,CLAMP((((int)s[2+i])-128)*256,-32768,32767));
|
||||
oscBuf[i]->putSample(h,CLAMP(((int)s[2+i])<<8,-32768,32767));
|
||||
}
|
||||
|
||||
tempL[0]=(tempL[0]>>1)+(tempL[0]>>2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue