code style

This commit is contained in:
cam900 2022-09-27 04:54:04 +09:00
parent 013c7b92fb
commit 4f71214887
1 changed files with 2 additions and 4 deletions

View File

@ -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);