implement separate buffering of tag data and cluster table

This commit is contained in:
2025-02-16 08:46:22 +00:00
parent 8b10c344d6
commit 2e4ee5c1b6
6 changed files with 244 additions and 31 deletions

View File

@@ -41,8 +41,13 @@ static enum ec3_status add_file(
}
struct ec3_tag_writer *tag = NULL;
enum ec3_status status
= ec3_writer_create_tag(writer, 0, type, id, 0, &tag);
enum ec3_status status = ec3_writer_create_tag(
writer,
EC3_TAG_WRITER_BUFFERED,
type,
id,
0,
&tag);
if (status != EC3_SUCCESS) {
b_err("cannot initialise EC3 tag writer");