Add ES5506 configs at format.md
Fix code format
This commit is contained in:
parent
62f1ba73eb
commit
5248f30fb4
2 changed files with 7 additions and 4 deletions
|
|
@ -141,8 +141,8 @@ void DivPlatformES5506::acquire(short* bufL, short* bufR, size_t start, size_t l
|
|||
}
|
||||
|
||||
void DivPlatformES5506::e_pin(bool state) {
|
||||
if (es5506.e_falling_edge()) {
|
||||
if (es5506.voice_update()) { // get channel outputs
|
||||
if (es5506.e_falling_edge()) { // get channel outputs
|
||||
if (es5506.voice_update()) {
|
||||
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);
|
||||
|
|
@ -155,8 +155,7 @@ void DivPlatformES5506::e_pin(bool state) {
|
|||
}
|
||||
}
|
||||
}
|
||||
// host interface
|
||||
if (es5506.e_rising_edge()) {
|
||||
if (es5506.e_rising_edge()) { // host interface
|
||||
if (cycle) { // wait until delay
|
||||
cycle--;
|
||||
} else if (!hostIntf8.empty()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue