2025-10-11 01:35:43 +01:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" lang = "en-US" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=11" / >
2026-10-08 20:15:08 +01:00
< meta name = "generator" content = "Doxygen 1.18.0" / >
2025-10-11 01:35:43 +01:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
< title > libaaruformat: include/aaruformat/consts.h File Reference< / title >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "dynsections.js" > < / script >
2026-10-08 20:15:08 +01:00
< script type = "text/javascript" src = "codefolding.js" > < / script >
2025-10-11 01:35:43 +01:00
< script type = "text/javascript" src = "clipboard.js" > < / script >
< link href = "navtree.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "navtreedata.js" > < / script >
< script type = "text/javascript" src = "navtree.js" > < / script >
< script type = "text/javascript" src = "cookie.js" > < / script >
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "search/searchdata.js" > < / script >
< script type = "text/javascript" src = "search/search.js" > < / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr id = "projectrow" >
< td id = "projectalign" >
< div id = "projectname" > libaaruformat< span id = "projectnumber" >   1.0< / span >
< / div >
< div id = "projectbrief" > Aaru Data Preservation Suite - Format Library< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2026-10-08 20:15:08 +01:00
<!-- Generated by Doxygen 1.18.0 -->
2025-10-11 01:35:43 +01:00
< script type = "text/javascript" >
2026-10-08 20:15:08 +01:00
let searchBox = new SearchBox("searchBox", "search/",'.html');
2025-10-11 01:35:43 +01:00
< / script >
< script type = "text/javascript" >
2026-10-08 20:15:08 +01:00
document.addEventListener('DOMContentLoaded', codefold.init);
< / script >
< script type = "application/json" id = "doxygen-config" >
{
"relPath": "",
"generateTreeView": true,
"searchEngine": true,
"serverBasedSearch": false,
"disableIndex": false,
"dynamicMenus": true,
"fullSidebar": false
}
2025-10-11 01:35:43 +01:00
< / script >
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
2026-10-08 20:15:08 +01:00
< div id = "main-nav-mobile" >
< div class = "sm sm-dox" > < input id = "main-menu-state" type = "checkbox" / >
< label class = "main-menu-btn" for = "main-menu-state" >
< span class = "main-menu-btn-icon" > < / span > Toggle main menu visibility< / label >
< span id = "searchBoxPos1" > < / span >
< / div >
< / div > <!-- main - nav - mobile -->
< div id = "main-nav" >
< ul class = "sm sm-dox" id = "main-menu" >
< li id = "searchBoxPos2" >
< div id = "MSearchBox" class = "MSearchBoxInactive" >
< span class = "left" >
< span id = "MSearchSelect" class = "search-icon" > < span class = "search-icon-dropdown" > < / span > < / span >
< input type = "text" id = "MSearchField" value = "" placeholder = "Search" accesskey = "S" / >
< / span > < span class = "right" >
< a id = "MSearchClose" href = "javascript:searchBox.CloseResultsWindow()" > < div id = "MSearchCloseImg" class = "close-icon" > < / div > < / a >
< / span >
< / div >
< / li >
< / ul >
< / div > <!-- main - nav -->
2025-10-11 01:35:43 +01:00
< / div > <!-- top -->
< div id = "side-nav" class = "ui-resizable side-nav-resizable" >
< div id = "nav-tree" >
< div id = "nav-tree-contents" >
< div id = "nav-sync" class = "sync" > < / div >
< / div >
< / div >
2026-10-08 20:15:08 +01:00
< div id = "splitbar" class = "ui-resizable-handle" >
2025-10-11 01:35:43 +01:00
< / div >
< / div >
< script type = "text/javascript" >
2026-10-08 20:15:08 +01:00
document.addEventListener('DOMContentLoaded',() => { initNavTree('consts_8h.html','',''); });
2025-10-11 01:35:43 +01:00
< / script >
< div id = "container" >
< div id = "doc-content" >
<!-- window showing the filter options -->
2026-10-08 20:15:08 +01:00
< div id = "MSearchSelectWindow" >
2025-10-11 01:35:43 +01:00
< / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< div id = "MSearchResults" >
< div class = "SRPage" >
< div id = "SRIndex" >
< div id = "SRResults" > < / div >
< div class = "SRStatus" id = "Loading" > Loading...< / div >
< div class = "SRStatus" id = "Searching" > Searching...< / div >
< div class = "SRStatus" id = "NoMatches" > No Matches< / div >
< / div >
< / div >
< / div >
< / div >
< div class = "header" >
< div class = "headertitle" > < div class = "title" > consts.h File Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< p > Core public constants and compile‑ time limits for the Aaru container format implementation.
< a href = "#details" > More...< / a > < / p >
< p > < a href = "consts_8h_source.html" > Go to the source code of this file.< / a > < / p >
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 id = "header-define-members" class = "groupheader" > < a id = "define-members" name = "define-members" > < / a >
Macros< / h2 > < / td > < / tr >
2026-04-11 23:17:09 +01:00
< tr class = "memitem:a13ba7a163f45ee45c977d63c408539ca" id = "r_a13ba7a163f45ee45c977d63c408539ca" > < td class = "memItemLeft" > #define  < / td > < td class = "memItemRight" > < a class = "el" href = "#a13ba7a163f45ee45c977d63c408539ca" > DIC_MAGIC< / a >       0x544D52464D434944ULL< / td > < / tr >
2025-10-11 01:35:43 +01:00
< tr class = "memdesc:a13ba7a163f45ee45c977d63c408539ca" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Magic identifier for legacy DiscImageChef container (ASCII "DICMFRMT"). < br / > < / td > < / tr >
2026-04-11 23:17:09 +01:00
< tr class = "memitem:a3c3ba66fe2b547655c9e4b16a1ba519a" id = "r_a3c3ba66fe2b547655c9e4b16a1ba519a" > < td class = "memItemLeft" > #define  < / td > < td class = "memItemRight" > < a class = "el" href = "#a3c3ba66fe2b547655c9e4b16a1ba519a" > AARU_MAGIC< / a >       0x544D524655524141ULL< / td > < / tr >
2025-10-11 01:35:43 +01:00
< tr class = "memdesc:a3c3ba66fe2b547655c9e4b16a1ba519a" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Magic identifier for AaruFormat container (ASCII "AARUFRMT"). < br / > < / td > < / tr >
2026-04-11 23:17:09 +01:00
< tr class = "memitem:adbbd4387273589f1c76a5f5786607013" id = "r_adbbd4387273589f1c76a5f5786607013" > < td class = "memItemLeft" > #define  < / td > < td class = "memItemRight" > < a class = "el" href = "#adbbd4387273589f1c76a5f5786607013" > AARUF_VERSION< / a >       2< / td > < / tr >
2025-10-11 01:35:43 +01:00
< tr class = "memdesc:adbbd4387273589f1c76a5f5786607013" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Current image format major version (incompatible changes bump this). < br / > < / td > < / tr >
2026-04-11 23:17:09 +01:00
< tr class = "memitem:ac837e146bff4d0f3603e4a9e444358c6" id = "r_ac837e146bff4d0f3603e4a9e444358c6" > < td class = "memItemLeft" > #define  < / td > < td class = "memItemRight" > < a class = "el" href = "#ac837e146bff4d0f3603e4a9e444358c6" > AARUF_VERSION_V1< / a >       1< / td > < / tr >
2025-10-11 01:35:43 +01:00
< tr class = "memdesc:ac837e146bff4d0f3603e4a9e444358c6" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > First on‑ disk version (C# implementation). < br / > < / td > < / tr >
2026-04-11 23:17:09 +01:00
< tr class = "memitem:ad2fdced5805aa0364f1c5b073f81dd76" id = "r_ad2fdced5805aa0364f1c5b073f81dd76" > < td class = "memItemLeft" > #define  < / td > < td class = "memItemRight" > < a class = "el" href = "#ad2fdced5805aa0364f1c5b073f81dd76" > AARUF_VERSION_V2< / a >       2< / td > < / tr >
2025-10-11 01:35:43 +01:00
< tr class = "memdesc:ad2fdced5805aa0364f1c5b073f81dd76" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Second on‑ disk version (C implementation). < br / > < / td > < / tr >
2026-04-11 23:17:09 +01:00
< tr class = "memitem:a6c8469dfe973ac952cf40394bd2c160b" id = "r_a6c8469dfe973ac952cf40394bd2c160b" > < td class = "memItemLeft" > #define  < / td > < td class = "memItemRight" > < a class = "el" href = "#a6c8469dfe973ac952cf40394bd2c160b" > MAX_CACHE_SIZE< / a >       536870912ULL< / td > < / tr >
2025-10-11 01:35:43 +01:00
< tr class = "memdesc:a6c8469dfe973ac952cf40394bd2c160b" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Maximum read cache size (bytes). < br / > < / td > < / tr >
2026-10-08 20:15:08 +01:00
< tr class = "memitem:afcaa8349616ebb0a5a45606ebabad399" id = "r_afcaa8349616ebb0a5a45606ebabad399" > < td class = "memItemLeft" > #define  < / td > < td class = "memItemRight" > < a class = "el" href = "#afcaa8349616ebb0a5a45606ebabad399" > MAX_HEADER_CACHE_SIZE< / a >       8388608ULL< / td > < / tr >
< tr class = "memdesc:afcaa8349616ebb0a5a45606ebabad399" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Maximum block header cache size (bytes). < br / > < / td > < / tr >
2026-04-11 23:17:09 +01:00
< tr class = "memitem:a25fd08252b97a0230d3efc899bddd240" id = "r_a25fd08252b97a0230d3efc899bddd240" > < td class = "memItemLeft" > #define  < / td > < td class = "memItemRight" > < a class = "el" href = "#a25fd08252b97a0230d3efc899bddd240" > LZMA_PROPERTIES_LENGTH< / a >       5< / td > < / tr >
2025-10-11 01:35:43 +01:00
< tr class = "memdesc:a25fd08252b97a0230d3efc899bddd240" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Size in bytes of the fixed LZMA properties header (lc/lp/pb + dictionary size). < br / > < / td > < / tr >
2026-04-11 23:17:09 +01:00
< tr class = "memitem:ac97c436bf02e6e7e7daea67d374f03cd" id = "r_ac97c436bf02e6e7e7daea67d374f03cd" > < td class = "memItemLeft" > #define  < / td > < td class = "memItemRight" > < a class = "el" href = "#ac97c436bf02e6e7e7daea67d374f03cd" > MAX_DDT_ENTRY_CACHE< / a >       16000000< / td > < / tr >
2025-10-11 01:35:43 +01:00
< tr class = "memdesc:ac97c436bf02e6e7e7daea67d374f03cd" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Maximum number of cached DDT entry descriptors retained in memory for fast duplicate detection. < br / > < / td > < / tr >
2026-04-11 23:17:09 +01:00
< tr class = "memitem:a44401191f17a7c09a05e57ff9e5cff24" id = "r_a44401191f17a7c09a05e57ff9e5cff24" > < td class = "memItemLeft" > #define  < / td > < td class = "memItemRight" > < a class = "el" href = "#a44401191f17a7c09a05e57ff9e5cff24" > SAMPLES_PER_SECTOR< / a >       588< / td > < / tr >
2025-10-11 01:35:43 +01:00
< tr class = "memdesc:a44401191f17a7c09a05e57ff9e5cff24" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Red Book (CD‑ DA) PCM samples per 2352‑ byte sector: 44,100 Hz / 75 sectors per second = 588 samples. < br / > < / td > < / tr >
2026-04-11 23:17:09 +01:00
< tr class = "memitem:a207a31e861ea8e3a4f5ef52c13b42b3d" id = "r_a207a31e861ea8e3a4f5ef52c13b42b3d" > < td class = "memItemLeft" > #define  < / td > < td class = "memItemRight" > < a class = "el" href = "#a207a31e861ea8e3a4f5ef52c13b42b3d" > MAX_FLAKE_BLOCK< / a >       4608< / td > < / tr >
2025-10-11 01:35:43 +01:00
< tr class = "memdesc:a207a31e861ea8e3a4f5ef52c13b42b3d" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > FLAC maximum block size used for encoding audio sectors. < br / > < / td > < / tr >
2026-04-11 23:17:09 +01:00
< tr class = "memitem:a3fd3617b4eb7e9548e0fd0ca8990e44a" id = "r_a3fd3617b4eb7e9548e0fd0ca8990e44a" > < td class = "memItemLeft" > #define  < / td > < td class = "memItemRight" > < a class = "el" href = "#a3fd3617b4eb7e9548e0fd0ca8990e44a" > MIN_FLAKE_BLOCK< / a >       256< / td > < / tr >
2025-10-11 01:35:43 +01:00
< tr class = "memdesc:a3fd3617b4eb7e9548e0fd0ca8990e44a" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > FLAC minimum block size. < br / > < / td > < / tr >
2026-04-11 23:17:09 +01:00
< tr class = "memitem:aa64757ba31a320f675fca1062111180f" id = "r_aa64757ba31a320f675fca1062111180f" > < td class = "memItemLeft" > #define  < / td > < td class = "memItemRight" > < a class = "el" href = "#aa64757ba31a320f675fca1062111180f" > CD_XFIX_MASK< / a >       0xFF000000U< / td > < / tr >
2025-10-11 01:35:43 +01:00
< tr class = "memdesc:aa64757ba31a320f675fca1062111180f" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Mask for extracting correction / fix flags in Compact Disc suffix/prefix DDT entries. < br / > < / td > < / tr >
2026-04-11 23:17:09 +01:00
< tr class = "memitem:acedc8f92be5e77817d5c902ffba6e77c" id = "r_acedc8f92be5e77817d5c902ffba6e77c" > < td class = "memItemLeft" > #define  < / td > < td class = "memItemRight" > < a class = "el" href = "#acedc8f92be5e77817d5c902ffba6e77c" > AARUF_KNOWN_INCOMPAT_FEATURES< / a >       0x1ULL< / td > < / tr >
< tr class = "memdesc:acedc8f92be5e77817d5c902ffba6e77c" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Bitmask of all featureIncompatible bits understood by this library version. < br / > < / td > < / tr >
< tr class = "memitem:a72b0f7dd20ba51e607e42b6e2d6970e5" id = "r_a72b0f7dd20ba51e607e42b6e2d6970e5" > < td class = "memItemLeft" > #define  < / td > < td class = "memItemRight" > < a class = "el" href = "#a72b0f7dd20ba51e607e42b6e2d6970e5" > AARUF_KNOWN_ROCOMPAT_FEATURES< / a >       0x1ULL< / td > < / tr >
< tr class = "memdesc:a72b0f7dd20ba51e607e42b6e2d6970e5" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Bitmask of all featureCompatibleRo bits understood by this library version. < br / > < / td > < / tr >
< tr class = "memitem:a7c3ad1bcc6a47eb763de189b140189a4" id = "r_a7c3ad1bcc6a47eb763de189b140189a4" > < td class = "memItemLeft" > #define  < / td > < td class = "memItemRight" > < a class = "el" href = "#a7c3ad1bcc6a47eb763de189b140189a4" > AARUF_KNOWN_COMPAT_FEATURES< / a >       0x1ULL< / td > < / tr >
< tr class = "memdesc:a7c3ad1bcc6a47eb763de189b140189a4" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Bitmask of all featureCompatible bits understood by this library version. < br / > < / td > < / tr >
< tr class = "memitem:a0b24c62ef1b78b72b9f4a42918f39e13" id = "r_a0b24c62ef1b78b72b9f4a42918f39e13" > < td class = "memItemLeft" > #define  < / td > < td class = "memItemRight" > < a class = "el" href = "#a0b24c62ef1b78b72b9f4a42918f39e13" > CD_DFIX_MASK< / a >       0x00FFFFFFU< / td > < / tr >
2025-10-11 01:35:43 +01:00
< tr class = "memdesc:a0b24c62ef1b78b72b9f4a42918f39e13" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Mask for extracting positional index (lower 24 bits) in Compact Disc suffix/prefix deduplicated block entries. < br / > < / td > < / tr >
2026-04-11 23:17:09 +01:00
< tr class = "memitem:a1d7434dbf5927484a6d767b8a27c3cd4" id = "r_a1d7434dbf5927484a6d767b8a27c3cd4" > < td class = "memItemLeft" > #define  < / td > < td class = "memItemRight" > < a class = "el" href = "#a1d7434dbf5927484a6d767b8a27c3cd4" > AARU_RECOVERY_FOOTER_MAGIC< / a >       0x52464D4345525641ULL< / td > < / tr >
< tr class = "memdesc:a1d7434dbf5927484a6d767b8a27c3cd4" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Magic number at the end of the recovery footer: "AVRECMFR" in ASCII little-endian. < br / > < / td > < / tr >
2025-10-11 01:35:43 +01:00
< / table >
< a name = "details" id = "details" > < / a > < h2 id = "header-details" class = "groupheader" > Detailed Description< / h2 >
< div class = "textblock" > < p > Core public constants and compile‑ time limits for the Aaru container format implementation. < / p >
< p > This header exposes magic identifiers, format version selectors, resource limits, codec parameter bounds, and bit masks used across libaaruformat. All values are immutable interface contracts; changing them breaks backward compatibility unless a new format version is declared.< / p >
< p > Summary:< / p > < ul >
< li > Magic numbers (DIC_MAGIC, AARU_MAGIC) identify container families (legacy DiscImageChef vs AaruFormat).< / li >
< li > Version macros distinguish format generations (V1 C# / legacy CRC endianness, V2 current C implementation).< / li >
< li > Cache and table size limits provide protective upper bounds against runaway memory consumption.< / li >
< li > Audio constants (SAMPLES_PER_SECTOR, MIN/MAX_FLAKE_BLOCK) align with Red Book (CD‑ DA) and FLAC encoding best practices.< / li >
< li > CD_* masks assist with extracting flags / positional subfields in deduplicated Compact Disc sector tables.< / li >
< li > CRC64 constants implement ECMA‑ 182 polynomial and standard seed, enabling deterministic end‑ to‑ end block integrity.< / li >
< / ul >
< p > Notes:< / p > < ul >
< li > Magic values are stored little‑ endian on disk when written as 64‑ bit integers; when inspecting raw bytes make sure to account for host endianness.< / li >
< li > AARUF_VERSION must be incremented only when an incompatible on‑ disk layout change is introduced.< / li >
< li > MAX_DDT_ENTRY_CACHE is a soft upper bound sized to balance deduplication hit rate vs RAM; tune in future builds via configuration if adaptive heuristics are introduced.< / li >
< li > The LZMA properties length (5) derives from the standard LZMA header (lc/lp/pb + dict size) and is constant for raw LZMA streams used here.< / li >
< li > FLAC sample block guidance: empirical evaluation shows > 4608 samples per block does not yield meaningful ratio gains for typical optical audio captures while increasing decode buffer size.< / li >
< / ul >
< p > Thread safety: All macros are compile‑ time constants; no synchronization required. Portability: Constants chosen to fit within 64‑ bit targets; arithmetic assumes two's complement. < / p >
< p class = "definition" > Definition in file < a class = "el" href = "consts_8h_source.html" > consts.h< / a > .< / p >
< / div > < a name = "doc-define-members" id = "doc-define-members" > < / a > < h2 id = "header-doc-define-members" class = "groupheader" > Macro Definition Documentation< / h2 >
< a id = "a3c3ba66fe2b547655c9e4b16a1ba519a" name = "a3c3ba66fe2b547655c9e4b16a1ba519a" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a3c3ba66fe2b547655c9e4b16a1ba519a" > ◆   < / a > < / span > AARU_MAGIC< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > #define AARU_MAGIC      0x544D524655524141ULL< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Magic identifier for AaruFormat container (ASCII "AARUFRMT"). < / p >
< p > Used in the primary header to assert correct file type. < / p >
< p class = "definition" > Definition at line < a class = "el" href = "consts_8h_source.html#l00064" > 64< / a > of file < a class = "el" href = "consts_8h_source.html" > consts.h< / a > .< / p >
2026-10-08 20:15:08 +01:00
< p class = "reference" > Referenced by < a class = "el" href = "metadata__write_8c_source.html#l02238" > aaruf_clear_comments()< / a > , < a class = "el" href = "metadata__write_8c_source.html#l02109" > aaruf_clear_creator()< / a > , < a class = "el" href = "dpm_8c_source.html#l00172" > aaruf_clear_dpm()< / a > , < a class = "el" href = "metadata__write_8c_source.html#l03096" > aaruf_clear_drive_firmware_revision()< / a > , < a class = "el" href = "metadata__write_8c_source.html#l02833" > aaruf_clear_drive_manufacturer()< / a > , < a class = "el" href = "metadata__write_8c_source.html#l02919" > aaruf_clear_drive_model()< / a > , < a class = "el" href = "metadata__write_8c_source.html#l03008" > aaruf_clear_drive_serial_number()< / a > , < a class = "el" href = "flux_8c_source.html#l00776" > aaruf_clear_flux_captures()< / a > , < a class = "el" href = "metadata__write_8c_source.html#l02661" > aaruf_clear_media_barcode()< / a > , < a class = "el" href = "metadata__write_8c_source.html#l02405" > aaruf_clear_media_manufacturer()< / a > , < a class = "el" href = "metadata__write_8c_source.html#l02489" > aaruf_clear_media_model()< / a > , < a class = "el" href = "metadata__write_8c_source.html#l02747" > aaruf_clear_media_part_number()< / a > , < a class = "el" href = "metadata__write_8c_source.html#l01978" > aaruf_clear_media_sequence()< / a > , < a class = "el" href = "metadata__write_8c_source.html#l02575" > aaruf_clear_media_serial_number()< / a > , < a class = "el" href = "metadata__write_8c_source.html#l02321" > aaruf_clear_media_title()< / a > , < a class = "el" href = "close_8c_source.html#l00080" > aaruf_close()< / a > , < a class = "el" href = "write_8c_source.html#l01569" > aaruf_close_current_block()< / a > , < a class = "el" href = "create_8c_source.html#l00291" > aaruf_create()< / a > , < a class = "el" href = "metadata_8c_source.html#l00399" > aaruf_get_aaru_json_metadata()< / a > , < a class = "el" href = "tape_8c_source.html#l01319" > aaruf_get_all_tape_files()< / a > , < a class = "el" href = "tape_8c_source.html#l01421" > aaruf_get_all_tape_partitions()< / a > , < a class = "el" href = "metadata_8c_source.html#l00244" > aaruf_get_cicm_metadata()< / a > , < a class = "el" href = "metadata_8c_source.html#l00616" > aaruf_get_comments()< / a > , < a class = "el" href = "metadata_8c_source.html#l00544" > aaruf_get_creator()< / a > , < a class = "el" href = "dpm_8c_source.html#l00043" > aaruf_get_dpm()< / a > , < a class = "el" href = "metadata_8c_source.html#l01318" > aaruf_get_drive_firmware_revision()< / a > , < a class = "el" href = "metadata_8c_source.html#l01108" > aaruf_get_drive_manufacturer()< / a > , < a class = "el" href = "metadata_8c_source.html#l01178" > aaruf_get_drive_model()< / a > , < a class = "el" href = "metadata_8c_source.html#l01248" > aaruf_get_drive_serial_number()< / a > , < a class = "el" href = "dump_8c_source.html#l00186" > aaruf_get_dumphw()< / a > , < a class = "el" href = "flux_8c_source.html#l00483" > aaruf_get_flux_captures()< / a > , < a class = "el" href = "metadata_8c_source.html#l00104" > aaruf_get_geometry()< / a > , < a class = "el" href = "metadata_8c_source.html#l01774" > aaruf_get_image_info()< / a > , < a class = "el" href = "metadata_8c_source.html#l00965" > aaruf_get_media_barcode()< / a > , < a class = "el" href = "metadata_8c_source.html#l00756" > aaruf_get_media_manufacturer()< / a > , < a class = "el" href = "metadata_8c_source.html#l00826" > aaruf_get_media_model()< / a > , < a class = "el" href = "metadata_8c_source.html#l01036" > aaruf_get_media_part_number()< / a > , < a class = "el" href = "metadata_8c_source.html#l00477" > aaruf_get_media_sequence()< / a > , < a class = "el" href = "metadata_8c_source.html#l00896" > aaruf_get_media_serial_number()< / a > , < a class = "el" href = "metadata_8c_source.html#l00686" > aaruf_get_media_title()< / a > , < a class = "el" href = "metadata_8c_source.html#l01557" > aaruf_get_negative_sectors()< / a > , < a class = "el" href = "metadata_8c_source.html#l01692" > aaruf_get_overflow_sectors()< / a > , < a class = "el" href = "blocks_2metadata_8c_source.html#l00715" > aaruf_get_readable_media_tags()< / a > , < a class = "el" href = "blocks_2metadata_8c_source.html#l00627" > aaruf_get_readable_sector_tags()< / a > , < a class = "el" href = "tape_8c_source.html#l00572" > aaruf_get_tape_file()< / a > , < a class = "el" href = "tape_8c_source.html#l00986" > aaruf_get_tape_partition()< / a > , < a class = "el" href = "optical_8c_source.html#l00317" > aaruf_get_tracks()< / a > , < a class = "el" href = "metadata_8c_source.html#l01432" > aaruf_get_us
2026-04-11 23:17:09 +01:00
< / div >
< / div >
< a id = "a1d7434dbf5927484a6d767b8a27c3cd4" name = "a1d7434dbf5927484a6d767b8a27c3cd4" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a1d7434dbf5927484a6d767b8a27c3cd4" > ◆   < / a > < / span > AARU_RECOVERY_FOOTER_MAGIC< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > #define AARU_RECOVERY_FOOTER_MAGIC      0x52464D4345525641ULL< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Magic number at the end of the recovery footer: "AVRECMFR" in ASCII little-endian. < / p >
2026-10-08 20:15:08 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "consts_8h_source.html#l00119" > 119< / a > of file < a class = "el" href = "consts_8h_source.html" > consts.h< / a > .< / p >
2026-04-11 23:17:09 +01:00
2026-10-08 20:15:08 +01:00
< p class = "reference" > Referenced by < a class = "el" href = "open_8c_source.html#l00236" > aaruf_open()< / a > , < a class = "el" href = "erasure_8c_source.html#l00585" > ec_finalize()< / a > , and < a class = "el" href = "erasure_8c_source.html#l01046" > ec_load_ecmb()< / a > .< / p >
2026-04-11 23:17:09 +01:00
< / div >
< / div >
< a id = "a7c3ad1bcc6a47eb763de189b140189a4" name = "a7c3ad1bcc6a47eb763de189b140189a4" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a7c3ad1bcc6a47eb763de189b140189a4" > ◆   < / a > < / span > AARUF_KNOWN_COMPAT_FEATURES< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > #define AARUF_KNOWN_COMPAT_FEATURES      0x1ULL< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Bitmask of all featureCompatible bits understood by this library version. < / p >
< p > Bit 0 = AARU_FEATURE_RW_BLAKE3 (BLAKE3 checksums). < / p >
2026-10-08 20:15:08 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "consts_8h_source.html#l00114" > 114< / a > of file < a class = "el" href = "consts_8h_source.html" > consts.h< / a > .< / p >
2026-04-11 23:17:09 +01:00
< / div >
< / div >
< a id = "acedc8f92be5e77817d5c902ffba6e77c" name = "acedc8f92be5e77817d5c902ffba6e77c" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#acedc8f92be5e77817d5c902ffba6e77c" > ◆   < / a > < / span > AARUF_KNOWN_INCOMPAT_FEATURES< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > #define AARUF_KNOWN_INCOMPAT_FEATURES      0x1ULL< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Bitmask of all featureIncompatible bits understood by this library version. < / p >
< p > Bit 0 = AARU_FEATURE_INCOMPAT_ZSTD (Zstandard compression). < / p >
2026-10-08 20:15:08 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "consts_8h_source.html#l00108" > 108< / a > of file < a class = "el" href = "consts_8h_source.html" > consts.h< / a > .< / p >
2026-04-11 23:17:09 +01:00
< p class = "reference" > Referenced by < a class = "el" href = "open_8c_source.html#l00236" > aaruf_open()< / a > .< / p >
< / div >
< / div >
< a id = "a72b0f7dd20ba51e607e42b6e2d6970e5" name = "a72b0f7dd20ba51e607e42b6e2d6970e5" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a72b0f7dd20ba51e607e42b6e2d6970e5" > ◆   < / a > < / span > AARUF_KNOWN_ROCOMPAT_FEATURES< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > #define AARUF_KNOWN_ROCOMPAT_FEATURES      0x1ULL< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Bitmask of all featureCompatibleRo bits understood by this library version. < / p >
< p > Bit 0 = AARU_FEATURE_ROCOMPAT_ERASURE (erasure coding parity data). < / p >
2026-10-08 20:15:08 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "consts_8h_source.html#l00111" > 111< / a > of file < a class = "el" href = "consts_8h_source.html" > consts.h< / a > .< / p >
2026-04-11 23:17:09 +01:00
< p class = "reference" > Referenced by < a class = "el" href = "open_8c_source.html#l00236" > aaruf_open()< / a > .< / p >
2025-10-11 01:35:43 +01:00
< / div >
< / div >
< a id = "adbbd4387273589f1c76a5f5786607013" name = "adbbd4387273589f1c76a5f5786607013" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#adbbd4387273589f1c76a5f5786607013" > ◆   < / a > < / span > AARUF_VERSION< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > #define AARUF_VERSION      2< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Current image format major version (incompatible changes bump this). < / p >
< p > Readers should reject headers with a higher number unless explicitly forward compatible. < / p >
< p class = "definition" > Definition at line < a class = "el" href = "consts_8h_source.html#l00068" > 68< / a > of file < a class = "el" href = "consts_8h_source.html" > consts.h< / a > .< / p >
2026-04-11 23:17:09 +01:00
< p class = "reference" > Referenced by < a class = "el" href = "identify_8c_source.html#l00165" > aaruf_identify_stream()< / a > , and < a class = "el" href = "open_8c_source.html#l00236" > aaruf_open()< / a > .< / p >
2025-10-11 01:35:43 +01:00
< / div >
< / div >
< a id = "ac837e146bff4d0f3603e4a9e444358c6" name = "ac837e146bff4d0f3603e4a9e444358c6" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ac837e146bff4d0f3603e4a9e444358c6" > ◆   < / a > < / span > AARUF_VERSION_V1< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > #define AARUF_VERSION_V1      1< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > First on‑ disk version (C# implementation). < / p >
< p > Quirk: CRC64 values were stored byte‑ swapped relative to ECMA‑ 182 canonical output. < / p >
< p class = "definition" > Definition at line < a class = "el" href = "consts_8h_source.html#l00071" > 71< / a > of file < a class = "el" href = "consts_8h_source.html" > consts.h< / a > .< / p >
2026-10-08 20:15:08 +01:00
< p class = "reference" > Referenced by < a class = "el" href = "verify_8c_source.html#l00130" > aaruf_verify_image()< / a > , < a class = "el" href = "data_8c_source.html#l00073" > process_data_block()< / a > , < a class = "el" href = "blocks_2dump_8c_source.html#l00107" > process_dumphw_block()< / a > , < a class = "el" href = "optical_8c_source.html#l00116" > process_tracks_block()< / a > , < a class = "el" href = "index__v1_8c_source.html#l00226" > verify_index_v1()< / a > , < a class = "el" href = "index__v2_8c_source.html#l00228" > verify_index_v2()< / a > , and < a class = "el" href = "index__v3_8c_source.html#l00408" > verify_index_v3()< / a > .< / p >
2025-10-11 01:35:43 +01:00
< / div >
< / div >
< a id = "ad2fdced5805aa0364f1c5b073f81dd76" name = "ad2fdced5805aa0364f1c5b073f81dd76" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ad2fdced5805aa0364f1c5b073f81dd76" > ◆   < / a > < / span > AARUF_VERSION_V2< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > #define AARUF_VERSION_V2      2< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Second on‑ disk version (C implementation). < / p >
< p > Introduced: extended header (GUID, feature bitmaps), hierarchical DDT v2, improved index (v2/v3), multi‑ codec compression, refined metadata blocks. < / p >
< p class = "definition" > Definition at line < a class = "el" href = "consts_8h_source.html#l00075" > 75< / a > of file < a class = "el" href = "consts_8h_source.html" > consts.h< / a > .< / p >
2026-04-11 23:17:09 +01:00
< p class = "reference" > Referenced by < a class = "el" href = "create_8c_source.html#l00291" > aaruf_create()< / a > , and < a class = "el" href = "open_8c_source.html#l00236" > aaruf_open()< / a > .< / p >
2025-10-11 01:35:43 +01:00
< / div >
< / div >
< a id = "a0b24c62ef1b78b72b9f4a42918f39e13" name = "a0b24c62ef1b78b72b9f4a42918f39e13" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a0b24c62ef1b78b72b9f4a42918f39e13" > ◆   < / a > < / span > CD_DFIX_MASK< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > #define CD_DFIX_MASK      0x00FFFFFFU< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Mask for extracting positional index (lower 24 bits) in Compact Disc suffix/prefix deduplicated block entries. < / p >
2026-10-08 20:15:08 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "consts_8h_source.html#l00116" > 116< / a > of file < a class = "el" href = "consts_8h_source.html" > consts.h< / a > .< / p >
2025-10-11 01:35:43 +01:00
2026-10-08 20:15:08 +01:00
< p class = "reference" > Referenced by < a class = "el" href = "read_8c_source.html#l01438" > aaruf_read_sector_long()< / a > .< / p >
2025-10-11 01:35:43 +01:00
< / div >
< / div >
< a id = "aa64757ba31a320f675fca1062111180f" name = "aa64757ba31a320f675fca1062111180f" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#aa64757ba31a320f675fca1062111180f" > ◆   < / a > < / span > CD_XFIX_MASK< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > #define CD_XFIX_MASK      0xFF000000U< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Mask for extracting correction / fix flags in Compact Disc suffix/prefix DDT entries. < / p >
< p > High 8 bits store status (see < a class = "el" href = "enums_8h.html#a74e216af87b18a5fbf0204a52dd1bba0" title = "Acquisition / content status for one or more sectors." > SectorStatus< / a > / < a class = "el" href = "enums_8h.html#ab72dc399e3946b3c40a5ad8c8e3254b7" title = "Flags describing Compact Disc sector fix-up status." > CdFixFlags< / a > relationships). < / p >
2026-10-08 20:15:08 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "consts_8h_source.html#l00104" > 104< / a > of file < a class = "el" href = "consts_8h_source.html" > consts.h< / a > .< / p >
2025-10-11 01:35:43 +01:00
2026-10-08 20:15:08 +01:00
< p class = "reference" > Referenced by < a class = "el" href = "read_8c_source.html#l01438" > aaruf_read_sector_long()< / a > .< / p >
2025-10-11 01:35:43 +01:00
< / div >
< / div >
< a id = "a13ba7a163f45ee45c977d63c408539ca" name = "a13ba7a163f45ee45c977d63c408539ca" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a13ba7a163f45ee45c977d63c408539ca" > ◆   < / a > < / span > DIC_MAGIC< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > #define DIC_MAGIC      0x544D52464D434944ULL< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Magic identifier for legacy DiscImageChef container (ASCII "DICMFRMT"). < / p >
< p > Retained for backward compatibility / migration tooling. < / p >
< p class = "definition" > Definition at line < a class = "el" href = "consts_8h_source.html#l00061" > 61< / a > of file < a class = "el" href = "consts_8h_source.html" > consts.h< / a > .< / p >
2026-04-11 23:17:09 +01:00
< p class = "reference" > Referenced by < a class = "el" href = "identify_8c_source.html#l00165" > aaruf_identify_stream()< / a > , and < a class = "el" href = "open_8c_source.html#l00236" > aaruf_open()< / a > .< / p >
2025-10-11 01:35:43 +01:00
< / div >
< / div >
< a id = "a25fd08252b97a0230d3efc899bddd240" name = "a25fd08252b97a0230d3efc899bddd240" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a25fd08252b97a0230d3efc899bddd240" > ◆   < / a > < / span > LZMA_PROPERTIES_LENGTH< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > #define LZMA_PROPERTIES_LENGTH      5< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Size in bytes of the fixed LZMA properties header (lc/lp/pb + dictionary size). < / p >
2026-10-08 20:15:08 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "consts_8h_source.html#l00086" > 86< / a > of file < a class = "el" href = "consts_8h_source.html" > consts.h< / a > .< / p >
2025-10-11 01:35:43 +01:00
2026-10-08 20:15:08 +01:00
< p class = "reference" > Referenced by < a class = "el" href = "write_8c_source.html#l01569" > aaruf_close_current_block()< / a > , < a class = "el" href = "read_8c_source.html#l00352" > aaruf_read_sector()< / a > , < a class = "el" href = "verify_8c_source.html#l00130" > aaruf_verify_image()< / a > , < a class = "el" href = "ddt__v2_8c_source.html#l00663" > decode_ddt_entry_v2()< / a > , < a class = "el" href = "ddt__v2_8c_source.html#l00948" > decode_ddt_multi_level_v2()< / a > , < a class = "el" href = "erasure_8c_source.html#l00209" > ec_accumulate_data_block()< / a > , < a class = "el" href = "erasure_8c_source.html#l01046" > ec_load_ecmb()< / a > , < a class = "el" href = "erasure_8c_source.html#l01303" > ec_recover_data_block()< / a > , < a class = "el" href = "data_8c_source.html#l00073" > process_data_block()< / a > , < a class = "el" href = "ddt__v1_8c_source.html#l00086" > process_ddt_v1()< / a > , < a class = "el" href = "ddt__v2_8c_source.html#l00097" > process_ddt_v2()< / a > , < a class = "el" href = "flux_8c_source.html#l00958" > read_lzma_compressed_payload()< / a > , < a class = "el" href = "ddt__v2_8c_source.html#l01409" > set_ddt_multi_level_v2()< / a > , < a class = "el" href = "close__write_8c_source.html#l02677" > write_bd_sector_edc_block()< / a > , < a class = "el" href = "close__write_8c_source.html#l00070" > write_cached_secondary_ddt()< / a > , < a class = "el" href = "close__write_8c_source.html#l02117" > write_dvd_long_sector_blocks()< / a > , < a class = "el" href = "close__write_8c_source.html#l02890" > write_dvd_title_key_decrypted_block()< / a > , < a class = "el" href = "close__write_8c_source.html#l04907" > write_flux_capture_payload()< / a > , < a class = "el" href = "close__write_8c_source.html#l03087" > write_media_tags()< / a > , < a class = "el" href = "close__write_8c_source.html#l00954" > write_mode2_subheaders_block()< / a > , < a class = "el" href = "close__write_8c_source.html#l01101" > write_sector_prefix()< / a > , < a class = "el" href = "close__write_8c_source.html#l01403" > write_sector_prefix_ddt()< / a > , < a class = "el" href = "close__write_8c_source.html#l01771" > write_sector_subchannel()< / a > , < a class = "el" href = "close__write_8c_source.html#l01254" > write_sector_suffix()< / a > , < a class = "el" href = "close__write_8c_source.html#l01580" > write_sector_suffix_ddt()< / a > , and < a class = "el" href = "close__write_8c_source.html#l00405" > write_single_level_ddt()< / a > .< / p >
2025-10-11 01:35:43 +01:00
< / div >
< / div >
< a id = "a6c8469dfe973ac952cf40394bd2c160b" name = "a6c8469dfe973ac952cf40394bd2c160b" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a6c8469dfe973ac952cf40394bd2c160b" > ◆   < / a > < / span > MAX_CACHE_SIZE< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > #define MAX_CACHE_SIZE      536870912ULL< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Maximum read cache size (bytes). < / p >
< p > 512 MiB chosen to prevent excessive resident memory while still enabling efficient sequential and moderate random access patterns. < / p >
< p class = "definition" > Definition at line < a class = "el" href = "consts_8h_source.html#l00079" > 79< / a > of file < a class = "el" href = "consts_8h_source.html" > consts.h< / a > .< / p >
2026-04-11 23:17:09 +01:00
< p class = "reference" > Referenced by < a class = "el" href = "create_8c_source.html#l00291" > aaruf_create()< / a > , and < a class = "el" href = "open_8c_source.html#l00236" > aaruf_open()< / a > .< / p >
2025-10-11 01:35:43 +01:00
< / div >
< / div >
< a id = "ac97c436bf02e6e7e7daea67d374f03cd" name = "ac97c436bf02e6e7e7daea67d374f03cd" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ac97c436bf02e6e7e7daea67d374f03cd" > ◆   < / a > < / span > MAX_DDT_ENTRY_CACHE< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > #define MAX_DDT_ENTRY_CACHE      16000000< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Maximum number of cached DDT entry descriptors retained in memory for fast duplicate detection. < / p >
< p > At 16,000,000 entries with a compact structure, this caps hash_map overhead while covering large images. (Approx memory just for lookup bookkeeping: ~16 bytes * N ≈ 256 MB worst case; typical effective < 50% of cap.) < / p >
2026-10-08 20:15:08 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "consts_8h_source.html#l00091" > 91< / a > of file < a class = "el" href = "consts_8h_source.html" > consts.h< / a > .< / p >
2025-10-11 01:35:43 +01:00
< / div >
< / div >
< a id = "a207a31e861ea8e3a4f5ef52c13b42b3d" name = "a207a31e861ea8e3a4f5ef52c13b42b3d" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a207a31e861ea8e3a4f5ef52c13b42b3d" > ◆   < / a > < / span > MAX_FLAKE_BLOCK< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > #define MAX_FLAKE_BLOCK      4608< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > FLAC maximum block size used for encoding audio sectors. < / p >
< p > Empirically > 4608 samples yields diminishing compression returns and higher decode latency. < / p >
2026-10-08 20:15:08 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "consts_8h_source.html#l00098" > 98< / a > of file < a class = "el" href = "consts_8h_source.html" > consts.h< / a > .< / p >
2025-10-11 01:35:43 +01:00
2026-10-08 20:15:08 +01:00
< p class = "reference" > Referenced by < a class = "el" href = "write_8c_source.html#l01569" > aaruf_close_current_block()< / a > .< / p >
< / div >
< / div >
< a id = "afcaa8349616ebb0a5a45606ebabad399" name = "afcaa8349616ebb0a5a45606ebabad399" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#afcaa8349616ebb0a5a45606ebabad399" > ◆   < / a > < / span > MAX_HEADER_CACHE_SIZE< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > #define MAX_HEADER_CACHE_SIZE      8388608ULL< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Maximum block header cache size (bytes). < / p >
< p > Block headers are a few dozen bytes each, so 8 MiB keeps headers cached for far more blocks than MAX_CACHE_SIZE can hold payloads for. < / p >
< p class = "definition" > Definition at line < a class = "el" href = "consts_8h_source.html#l00083" > 83< / a > of file < a class = "el" href = "consts_8h_source.html" > consts.h< / a > .< / p >
< p class = "reference" > Referenced by < a class = "el" href = "create_8c_source.html#l00291" > aaruf_create()< / a > , and < a class = "el" href = "open_8c_source.html#l00236" > aaruf_open()< / a > .< / p >
2025-10-11 01:35:43 +01:00
< / div >
< / div >
< a id = "a3fd3617b4eb7e9548e0fd0ca8990e44a" name = "a3fd3617b4eb7e9548e0fd0ca8990e44a" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a3fd3617b4eb7e9548e0fd0ca8990e44a" > ◆   < / a > < / span > MIN_FLAKE_BLOCK< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > #define MIN_FLAKE_BLOCK      256< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > FLAC minimum block size. < / p >
< p > CUETools.Codecs.FLAKE does not accept blocks smaller than 256 samples. < / p >
2026-10-08 20:15:08 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "consts_8h_source.html#l00100" > 100< / a > of file < a class = "el" href = "consts_8h_source.html" > consts.h< / a > .< / p >
2025-10-11 01:35:43 +01:00
2026-10-08 20:15:08 +01:00
< p class = "reference" > Referenced by < a class = "el" href = "write_8c_source.html#l01569" > aaruf_close_current_block()< / a > .< / p >
2025-10-11 01:35:43 +01:00
< / div >
< / div >
< a id = "a44401191f17a7c09a05e57ff9e5cff24" name = "a44401191f17a7c09a05e57ff9e5cff24" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a44401191f17a7c09a05e57ff9e5cff24" > ◆   < / a > < / span > SAMPLES_PER_SECTOR< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > #define SAMPLES_PER_SECTOR      588< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Red Book (CD‑ DA) PCM samples per 2352‑ byte sector: 44,100 Hz / 75 sectors per second = 588 samples. < / p >
2026-10-08 20:15:08 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "consts_8h_source.html#l00094" > 94< / a > of file < a class = "el" href = "consts_8h_source.html" > consts.h< / a > .< / p >
2025-10-11 01:35:43 +01:00
2026-10-08 20:15:08 +01:00
< p class = "reference" > Referenced by < a class = "el" href = "write_8c_source.html#l01569" > aaruf_close_current_block()< / a > .< / p >
2025-10-11 01:35:43 +01:00
< / div >
< / div >
< / div > <!-- contents -->
< / div > <!-- doc - content -->
< div id = "page-nav" class = "page-nav-panel" >
< div id = "page-nav-resize-handle" > < / div >
< div id = "page-nav-tree" >
< div id = "page-nav-contents" >
< / div > <!-- page - nav - contents -->
< / div > <!-- page - nav - tree -->
< / div > <!-- page - nav -->
< / div > <!-- container -->
<!-- start footer part -->
< div id = "nav-path" class = "navpath" > <!-- id is needed for treeview function! -->
< ul >
< li class = "navelem" > < a href = "dir_d44c64559bbebec7f509842c48db8b23.html" > include< / a > < / li > < li class = "navelem" > < a href = "dir_aeff2545c9dfcfc842fe9d84b123cb31.html" > aaruformat< / a > < / li > < li class = "navelem" > < a href = "consts_8h.html" > consts.h< / a > < / li >
2026-10-08 20:15:08 +01:00
< li class = "footer" > Generated by < a href = "https://www.doxygen.org/index.html" > < img class = "footer" src = "doxygen.svg" width = "104" height = "31" alt = "doxygen" / > < / a > 1.18.0 < / li >
2025-10-11 01:35:43 +01:00
< / ul >
< / div >
< / body >
< / html >