Dear developers.
When using the sox_open_mem_write() as the data output, the pre-allocated buffer and its size are passed as the parameters. However, the size of the data written into the buffer does not seem to be reported anywhere.
I would expected it in the output sox_format_t.signal.length, but this value is still 0 (after effects chain is closed, before the output stream is closed).
Is it a bug or did I overlooked something?
https://codeberg.org/sox_ng/sox_ng/issues/515
sox_open_mem_write() only creates the file; it doesn't write anything into it.
You'll find out how much is written from the subsequent calls to sox_write().