Record from microphone to disk

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.

π

The audio recording code in the big demo should do the job just fine. We already have some quite sophisticated classes in the library for handling this buffering, you shouldn’t re-invent it for something this simple.