summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/cdrom.h
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2012-02-26 07:18:28 +0000
committer Aaron Giles <aaron@aarongiles.com>2012-02-26 07:18:28 +0000
commit5409b54206fcb09e72ee79a73721dd7530ab9bee (patch)
tree6ef498c2244e78657e21480d33fafd57ea9d702c /src/lib/util/cdrom.h
parent570a3b5010e43ac532aab067b80dd6f27f902180 (diff)
Better management of FLAC block sizes, aiming to keep them around 2k
samples. Increased CD sectors per hunk to 8 for better compression. [David Haywood] Re-did the non-CD FLAC codec to be "smart" in that it can choose either big-endian or little-endian on the fly and uses the best one. Added FLAC as a default codec for hard disks, which helps a lot for certain disks. [Aaron Giles]
Diffstat (limited to 'src/lib/util/cdrom.h')
-rw-r--r--src/lib/util/cdrom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util/cdrom.h b/src/lib/util/cdrom.h
index 02f032a699c..7ac5bead1b7 100644
--- a/src/lib/util/cdrom.h
+++ b/src/lib/util/cdrom.h
@@ -59,7 +59,7 @@ const UINT32 CD_TRACK_PADDING = 4;
#define CD_MAX_SUBCODE_DATA (96)
#define CD_FRAME_SIZE (CD_MAX_SECTOR_DATA + CD_MAX_SUBCODE_DATA)
-#define CD_FRAMES_PER_HUNK (4) // should be 8 for v5 CDs, with a 4-frame pad at the end to maintain SHA1 compatibility
+#define CD_FRAMES_PER_HUNK (8)
#define CD_METADATA_WORDS (1+(CD_MAX_TRACKS * 6))