mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-16 09:45:06 +00:00
code style
This commit is contained in:
parent
013c7b92fb
commit
4f71214887
1 changed files with 2 additions and 4 deletions
|
@ -140,11 +140,9 @@ void DivPlatformES5506::acquire(short* bufL, short* bufR, size_t start, size_t l
|
|||
}
|
||||
}
|
||||
|
||||
void DivPlatformES5506::e_pin(bool state)
|
||||
{
|
||||
// get channel outputs
|
||||
void DivPlatformES5506::e_pin(bool state) {
|
||||
if (es5506.e_falling_edge()) {
|
||||
if (es5506.voice_update()) {
|
||||
if (es5506.voice_update()) { // get channel outputs
|
||||
chan[prevChanCycle].lOut=es5506.voice_lout(prevChanCycle);
|
||||
chan[prevChanCycle].rOut=es5506.voice_rout(prevChanCycle);
|
||||
chan[prevChanCycle].oscOut=CLAMP((chan[prevChanCycle].lOut+chan[prevChanCycle].rOut)>>5,-32768,32767);
|
||||
|
|
Loading…
Reference in a new issue