Class ChdTrackInfo
Represents a single track in a CD/GD-ROM CHD image, including type, size, pregap/postgap, and frame offset information.
public sealed class ChdTrackInfo
- Inheritance
-
ChdTrackInfo
- Inherited Members
Properties
DataSize
Bytes per sector for this track (2048, 2352, etc.).
public int DataSize { get; init; }
Property Value
ExtraFrames
Padding frames added for 4-frame alignment.
public int ExtraFrames { get; init; }
Property Value
Frames
Number of frames in this track.
public int Frames { get; init; }
Property Value
PadFrames
GD-ROM pad frames (GD-ROM only).
public int PadFrames { get; init; }
Property Value
PhysFrameOfs
Physical frame offset where this track starts (cumulative Frames without ExtraFrames).
public ulong PhysFrameOfs { get; init; }
Property Value
PostGap
Postgap frames.
public int PostGap { get; init; }
Property Value
PreGap
Pregap frames (index 00 to index 01).
public int PreGap { get; init; }
Property Value
PreGapDataSize
Bytes per sector for pregap data.
public int PreGapDataSize { get; init; }
Property Value
PreGapSubSize
Subcode bytes per sector for pregap.
public int PreGapSubSize { get; init; }
Property Value
PreGapSubType
Subcode type of pregap sectors.
public ChdSubType PreGapSubType { get; init; }
Property Value
PreGapType
Track type of pregap sectors.
public ChdTrackType PreGapType { get; init; }
Property Value
SplitFrames
GD-ROM split frames — number of frames from the next track to append to the end of
the previous track after padding (Redump split-bin; track_info::splitframes in
cdrom.h:103). Used only during GD-ROM CUE/BIN extraction fixup
(chdman.cpp:2886). Zero for all tracks except the HD-area tracks that require
Redump reinterpretation.
public int SplitFrames { get; init; }
Property Value
StartFrame
CHD frame offset where this track starts.
public ulong StartFrame { get; init; }
Property Value
SubSize
Subcode bytes per sector (0 or 96).
public int SubSize { get; init; }
Property Value
SubType
Subcode type for this track.
public ChdSubType SubType { get; init; }
Property Value
TrackNumber
1-based track number.
public int TrackNumber { get; init; }
Property Value
TrackType
CD track data type (Mode1, Audio, etc.).
public ChdTrackType TrackType { get; init; }
Property Value
Methods
GetMameSubTypeString()
Returns MAME get_subtype_string value (RW, RW_RAW, NONE).
public string GetMameSubTypeString()
Returns
GetMameTypeString()
Returns MAME get_type_string value (MODE1, MODE1_RAW, MODE2, etc., AUDIO) without size suffix.
public string GetMameTypeString()
Returns
GetSubTypeString()
Returns a human-readable subcode type string: "RW", "RW_RAW", or "NONE".
public string GetSubTypeString()
Returns
GetTypeString()
Returns a human-readable track type string such as "MODE1/2048" or "AUDIO".
public string GetTypeString()