SoundUnit: fix getPan() again
This commit is contained in:
parent
7a6daba071
commit
d687edf16a
|
@ -459,7 +459,7 @@ DivMacroInt* DivPlatformSoundUnit::getChanMacroInt(int ch) {
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned short DivPlatformSoundUnit::getPan(int ch) {
|
unsigned short DivPlatformSoundUnit::getPan(int ch) {
|
||||||
return parent->convertPanLinearToSplit(chan[ch].pan^0x80,8,255);
|
return parent->convertPanLinearToSplit(chan[ch].pan+127,8,255);
|
||||||
}
|
}
|
||||||
|
|
||||||
DivDispatchOscBuffer* DivPlatformSoundUnit::getOscBuffer(int ch) {
|
DivDispatchOscBuffer* DivPlatformSoundUnit::getOscBuffer(int ch) {
|
||||||
|
|
Loading…
Reference in a new issue