mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-23 13:05:11 +00:00
fix getPan() on VERA and MSM6258
This commit is contained in:
parent
d240066df8
commit
d36b43415f
2 changed files with 2 additions and 2 deletions
|
@ -283,7 +283,7 @@ DivMacroInt* DivPlatformMSM6258::getChanMacroInt(int ch) {
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned short DivPlatformMSM6258::getPan(int ch) {
|
unsigned short DivPlatformMSM6258::getPan(int ch) {
|
||||||
return ((chan[ch].pan<<7)&1)|(chan[ch].pan&1);
|
return ((chan[ch].pan&2)<<7)|(chan[ch].pan&1);
|
||||||
}
|
}
|
||||||
|
|
||||||
DivDispatchOscBuffer* DivPlatformMSM6258::getOscBuffer(int ch) {
|
DivDispatchOscBuffer* DivPlatformMSM6258::getOscBuffer(int ch) {
|
||||||
|
|
|
@ -445,7 +445,7 @@ DivMacroInt* DivPlatformVERA::getChanMacroInt(int ch) {
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned short DivPlatformVERA::getPan(int ch) {
|
unsigned short DivPlatformVERA::getPan(int ch) {
|
||||||
return ((chan[ch].pan<<7)&1)|(chan[ch].pan&1);
|
return ((chan[ch].pan&1)<<8)|((chan[ch].pan&2)>>1);
|
||||||
}
|
}
|
||||||
|
|
||||||
DivDispatchOscBuffer* DivPlatformVERA::getOscBuffer(int ch) {
|
DivDispatchOscBuffer* DivPlatformVERA::getOscBuffer(int ch) {
|
||||||
|
|
Loading…
Reference in a new issue