@lokki is right. This is the reason why the larger blocksize has not been rolled out to the
master branch yet . I thought - however - that only the digital out would be compromised, not the digital ins. do you have a Bela or BelaMini? In the former case, can you just test it with analog outs and digital ins (the stock example code, basically) and see if that works?
Another possible fix could be to call
pinMode(context, 0, gEchoDigitalInPin, INPUT);
pinMode(context, 0, gEchoDigitalOutPin, OUTPUT);
once for each call to
render(). Not sure if this helps?