jack_capture icon indicating copy to clipboard operation
jack_capture copied to clipboard

File corrupted when filesystem capacity exceeded

Open riban-bw opened this issue 1 year ago • 0 comments

if the filesystem to which jack_capture is recording fills up, jack_capture reports an error (continually) but does not close the file which results in the file being unusable. This is at least true of wav files where the chunk size needs to be written hence the file is there and large but corrupted.

It would be advantageous if the detection of file system capacity exceeded was handled gracefully, ideally with the file being fixed up. Of course this may be challenging if another process is writing to file system in that the filesystem may become unwritable but it would be good for jack_capture to try to handle this situation. That way your recording becomes truncated but still usable.

riban-bw avatar Sep 27 '22 07:09 riban-bw