mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-26 22:43:01 +00:00
SoundUnit: implement panning
This commit is contained in:
parent
5567746e0b
commit
abd42cbb03
1 changed files with 1 additions and 1 deletions
|
@ -270,7 +270,7 @@ int DivPlatformSoundUnit::dispatch(DivCommand c) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case DIV_CMD_PANNING: {
|
case DIV_CMD_PANNING: {
|
||||||
chan[c.chan].pan=c.value;
|
chan[c.chan].pan=parent->convertPanSplitToLinear(c.value,4,254)-127;
|
||||||
chWrite(c.chan,0x03,chan[c.chan].pan);
|
chWrite(c.chan,0x03,chan[c.chan].pan);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue