def blk.i2b
import emerging-ezaudio@0.4.0.0/src/mp3_syn.bend as Mp3Synimport Base
1136# history write, after the next-slot write has returned the granule
1137def blk.i2b(got: Lg, +nch: U32, +zlin: U32, +tm: U32, +ii: U32) -> Lg:
1138 match got:
1139 case Lg{lin, gr}:
1140 blk.w2(lin, gr, nch, blk.hist(zlin, ii), u.add(1, ii), tm)