This is somehow rare but it does happen and we were able to reproduce oddities in the following scenarios:
- On macOS Mojave+ where Microphone Input isn’t granted / dialog still showing.
- With some old USB Audio Devices that needs to use combinator to produce I/O and input fails.
It seems that:
blockSizeMs (which is only used for wait interval). should be divided by number of retries?. (since the entire callback could be eaten by trying to get input not leaving time for the output process).