Yours to program.
Write directly to the card in C++. Register a callback, pump it from the loop, and stream live PCM straight to the SD card. The recorder behaves exactly how your code says it should.
OXAudioManager audio;
OXFileManager fm;
audio.onAudio(onAudio); // PCM -> SD
audio.begin(); // default pins
audio.poll(); // pump in loop()