Before I implement this from scratch, I just want to check if someone has already done it.
I want to be able to record maybe after a couple of hours of (microphone) mono audio to disk.
I’m thinking something like: two 1MB buffers. As soon as one is full, swap to the other one. On the message thread have a 1Hz timer that saves & clears a buffer if it is full.