Implement track type handling for optical images in write.c and context.h

This commit is contained in:
2025-10-03 15:25:01 +01:00
parent 3f94512c56
commit 38b9d1fa26
2 changed files with 33 additions and 3 deletions

View File

@@ -229,6 +229,8 @@ typedef struct aaruformatContext
spamsum_ctx *spamsum_context; ///< Opaque SpamSum context for streaming updates
bool calculating_blake3; ///< True if whole-image BLAKE3 being calculated on-the-fly.
blake3_hasher *blake3_context; ///< Opaque BLAKE3 context for streaming updates
uint8_t currentTrackType; ///< Current track type (when writing optical images with tracks, needed for block
///< compression type).
} aaruformatContext;
/** \struct DumpHardwareEntriesWithData