From 842aa93bc81a7b120e460a1598eb63b21eee574d Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Sun, 31 Mar 2019 20:54:17 +0100 Subject: [PATCH] Set more image enumeration fixed values. --- Enums/Images.cs | 184 ++++++++++++++++++++++++------------------------ 1 file changed, 92 insertions(+), 92 deletions(-) diff --git a/Enums/Images.cs b/Enums/Images.cs index 4282ca7..478e423 100644 --- a/Enums/Images.cs +++ b/Enums/Images.cs @@ -62,36 +62,36 @@ namespace DiscImageChef.CommonTypes.Enums /// /// Type of subchannel in track /// - public enum TrackSubchannelType + public enum TrackSubchannelType : byte { /// /// Track does not has subchannel dumped, or it's not a CD /// - None, + None = 0, /// /// Subchannel is packed and error corrected /// - Packed, + Packed = 1, /// /// Subchannel is interleaved /// - Raw, + Raw = 2, /// /// Subchannel is packed and comes interleaved with main channel in same file /// - PackedInterleaved, + PackedInterleaved = 3, /// /// Subchannel is interleaved and comes interleaved with main channel in same file /// - RawInterleaved, + RawInterleaved = 4, /// /// Only Q subchannel is stored as 16 bytes /// - Q16, + Q16 = 5, /// /// Only Q subchannel is stored as 16 bytes and comes interleaved with main channel in same file /// - Q16Interleaved + Q16Interleaved = 6 } /// @@ -100,33 +100,33 @@ namespace DiscImageChef.CommonTypes.Enums public enum SectorTagType { /// Apple's GCR sector tags, 12 bytes - AppleSectorTag, + AppleSectorTag = 0, /// Sync frame from CD sector, 12 bytes - CdSectorSync, + CdSectorSync = 1, /// CD sector header, 4 bytes - CdSectorHeader, + CdSectorHeader = 2, /// CD mode 2 sector subheader - CdSectorSubHeader, + CdSectorSubHeader = 3, /// CD sector EDC, 4 bytes - CdSectorEdc, + CdSectorEdc = 4, /// CD sector ECC P, 172 bytes - CdSectorEccP, + CdSectorEccP = 5, /// CD sector ECC Q, 104 bytes - CdSectorEccQ, + CdSectorEccQ = 6, /// CD sector ECC (P and Q), 276 bytes - CdSectorEcc, + CdSectorEcc = 7, /// CD sector subchannel, 96 bytes - CdSectorSubchannel, + CdSectorSubchannel = 8, /// CD track ISRC, string, 12 bytes - CdTrackIsrc, + CdTrackIsrc = 9, /// CD track text, string, 13 bytes - CdTrackText, + CdTrackText = 10, /// CD track flags, 1 byte - CdTrackFlags, + CdTrackFlags = 11, /// DVD sector copyright information - DvdCmi, + DvdCmi = 12, /// Floppy address mark (contents depend on underlying floppy format) - FloppyAddressMark + FloppyAddressMark = 13 } /// @@ -135,152 +135,152 @@ namespace DiscImageChef.CommonTypes.Enums public enum MediaTagType { /// CD table of contents - CD_TOC, + CD_TOC = 0, /// CD session information - CD_SessionInfo, + CD_SessionInfo = 1, /// CD full table of contents - CD_FullTOC, + CD_FullTOC = 2, /// CD PMA - CD_PMA, + CD_PMA = 3, /// CD Adress-Time-In-Pregroove - CD_ATIP, + CD_ATIP = 4, /// CD-Text - CD_TEXT, + CD_TEXT = 5, /// CD Media Catalogue Number - CD_MCN, + CD_MCN = 6, /// DVD/HD DVD Physical Format Information - DVD_PFI, + DVD_PFI = 7, /// DVD Lead-in Copyright Management Information - DVD_CMI, + DVD_CMI = 8, /// DVD disc key - DVD_DiscKey, + DVD_DiscKey = 9, /// DVD/HD DVD Burst Cutting Area - DVD_BCA, + DVD_BCA = 10, /// DVD/HD DVD Lead-in Disc Manufacturer Information - DVD_DMI, + DVD_DMI = 11, /// Media identifier - DVD_MediaIdentifier, + DVD_MediaIdentifier = 12, /// Media key block - DVD_MKB, + DVD_MKB = 13, /// DVD-RAM/HD DVD-RAM DDS information - DVDRAM_DDS, + DVDRAM_DDS = 14, /// DVD-RAM/HD DVD-RAM Medium status - DVDRAM_MediumStatus, + DVDRAM_MediumStatus = 15, /// DVD-RAM/HD DVD-RAM Spare area information - DVDRAM_SpareArea, + DVDRAM_SpareArea = 16, /// DVD-R/-RW/HD DVD-R RMD in last border-out - DVDR_RMD, + DVDR_RMD = 17, /// Pre-recorded information from DVD-R/-RW lead-in - DVDR_PreRecordedInfo, + DVDR_PreRecordedInfo = 18, /// DVD-R/-RW/HD DVD-R media identifier - DVDR_MediaIdentifier, + DVDR_MediaIdentifier = 19, /// DVD-R/-RW/HD DVD-R physical format information - DVDR_PFI, + DVDR_PFI = 20, /// ADIP information - DVD_ADIP, + DVD_ADIP = 21, /// HD DVD Lead-in copyright protection information - HDDVD_CPI, + HDDVD_CPI = 22, /// HD DVD-R Medium Status - HDDVD_MediumStatus, + HDDVD_MediumStatus = 23, /// DVD+/-R DL Layer capacity - DVDDL_LayerCapacity, + DVDDL_LayerCapacity = 24, /// DVD-R DL Middle Zone start address - DVDDL_MiddleZoneAddress, + DVDDL_MiddleZoneAddress = 25, /// DVD-R DL Jump Interval Size - DVDDL_JumpIntervalSize, + DVDDL_JumpIntervalSize = 26, /// DVD-R DL Start LBA of the manual layer jump - DVDDL_ManualLayerJumpLBA, + DVDDL_ManualLayerJumpLBA = 27, /// Blu-ray Disc Information - BD_DI, + BD_DI = 28, /// Blu-ray Burst Cutting Area - BD_BCA, + BD_BCA = 29, /// Blu-ray Disc Definition Structure - BD_DDS, + BD_DDS = 30, /// Blu-ray Cartridge Status - BD_CartridgeStatus, + BD_CartridgeStatus = 31, /// Blu-ray Status of Spare Area - BD_SpareArea, + BD_SpareArea = 32, /// AACS volume identifier - AACS_VolumeIdentifier, + AACS_VolumeIdentifier = 33, /// AACS pre-recorded media serial number - AACS_SerialNumber, + AACS_SerialNumber = 34, /// AACS media identifier - AACS_MediaIdentifier, + AACS_MediaIdentifier = 35, /// Lead-in AACS media key block - AACS_MKB, + AACS_MKB = 36, /// AACS data keys - AACS_DataKeys, + AACS_DataKeys = 37, /// LBA extents flagged for bus encryption by AACS - AACS_LBAExtents, + AACS_LBAExtents = 38, /// CPRM media key block in Lead-in - AACS_CPRM_MKB, + AACS_CPRM_MKB = 39, /// Recognized layer formats in hybrid discs - Hybrid_RecognizedLayers, + Hybrid_RecognizedLayers = 40, /// Disc write protection status - MMC_WriteProtection, + MMC_WriteProtection = 41, /// Disc standard information - MMC_DiscInformation, + MMC_DiscInformation = 42, /// Disc track resources information - MMC_TrackResourcesInformation, + MMC_TrackResourcesInformation = 43, /// BD-R Pseudo-overwrite information - MMC_POWResourcesInformation, + MMC_POWResourcesInformation = 44, /// SCSI INQUIRY response - SCSI_INQUIRY, + SCSI_INQUIRY = 45, /// SCSI MODE PAGE 2Ah - SCSI_MODEPAGE_2A, + SCSI_MODEPAGE_2A = 46, /// ATA IDENTIFY DEVICE response - ATA_IDENTIFY, + ATA_IDENTIFY = 47, /// ATA IDENTIFY PACKET DEVICE response - ATAPI_IDENTIFY, + ATAPI_IDENTIFY = 48, /// PCMCIA/CardBus Card Information Structure - PCMCIA_CIS, + PCMCIA_CIS = 49, /// SecureDigital CID - SD_CID, + SD_CID = 50, /// SecureDigital CSD - SD_CSD, + SD_CSD = 51, /// SecureDigital SCR - SD_SCR, + SD_SCR = 52, /// SecureDigital OCR - SD_OCR, + SD_OCR = 53, /// MultiMediaCard CID - MMC_CID, + MMC_CID = 54, /// MultiMediaCard CSD - MMC_CSD, + MMC_CSD = 55, /// MultiMediaCard OCR - MMC_OCR, + MMC_OCR = 56, /// MultiMediaCard Extended CSD - MMC_ExtendedCSD, + MMC_ExtendedCSD = 57, /// Xbox Security Sector - Xbox_SecuritySector, + Xbox_SecuritySector = 58, /// /// On floppy disks, data in last cylinder usually in a different format that contains duplication or /// manufacturing information /// - Floppy_LeadOut, + Floppy_LeadOut = 59, /// DVD Disc Control Blocks - DCB, + DCB = 60, /// Compact Disc First Track Pregap - CD_FirstTrackPregap, + CD_FirstTrackPregap = 61, /// Compact Disc Lead-out - CD_LeadOut, + CD_LeadOut = 62, /// SCSI MODE SENSE (6) - SCSI_MODESENSE_6, + SCSI_MODESENSE_6 = 63, /// SCSI MODE SENSE (10) - SCSI_MODESENSE_10, + SCSI_MODESENSE_10 = 64, /// USB descriptors - USB_Descriptors, + USB_Descriptors = 65, /// XGD unlocked DMI - Xbox_DMI, + Xbox_DMI = 66, /// XDG unlocked PFI - Xbox_PFI, + Xbox_PFI = 67, /// Compact Disc Lead-in - CD_LeadIn + CD_LeadIn = 68 } /// /// Enumeration of media types defined in CICM metadata /// - public enum XmlMediaType + public enum XmlMediaType : byte { /// /// Purely optical discs