mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
REFACTOR: Final cleanup of DiscImageChef.Decoders.
This commit is contained in:
219
CD/ATIP.cs
219
CD/ATIP.cs
@@ -38,19 +38,19 @@ using DiscImageChef.Console;
|
||||
namespace DiscImageChef.Decoders.CD
|
||||
{
|
||||
/// <summary>
|
||||
/// Information from the following standards:
|
||||
/// ANSI X3.304-1997
|
||||
/// T10/1048-D revision 9.0
|
||||
/// T10/1048-D revision 10a
|
||||
/// T10/1228-D revision 7.0c
|
||||
/// T10/1228-D revision 11a
|
||||
/// T10/1363-D revision 10g
|
||||
/// T10/1545-D revision 1d
|
||||
/// T10/1545-D revision 5
|
||||
/// T10/1545-D revision 5a
|
||||
/// T10/1675-D revision 2c
|
||||
/// T10/1675-D revision 4
|
||||
/// T10/1836-D revision 2g
|
||||
/// Information from the following standards:
|
||||
/// ANSI X3.304-1997
|
||||
/// T10/1048-D revision 9.0
|
||||
/// T10/1048-D revision 10a
|
||||
/// T10/1228-D revision 7.0c
|
||||
/// T10/1228-D revision 11a
|
||||
/// T10/1363-D revision 10g
|
||||
/// T10/1545-D revision 1d
|
||||
/// T10/1545-D revision 5
|
||||
/// T10/1545-D revision 5a
|
||||
/// T10/1675-D revision 2c
|
||||
/// T10/1675-D revision 4
|
||||
/// T10/1836-D revision 2g
|
||||
/// </summary>
|
||||
[SuppressMessage("ReSharper", "InconsistentNaming")]
|
||||
[SuppressMessage("ReSharper", "MemberCanBeInternal")]
|
||||
@@ -61,163 +61,163 @@ namespace DiscImageChef.Decoders.CD
|
||||
public struct CDATIP
|
||||
{
|
||||
/// <summary>
|
||||
/// Bytes 1 to 0
|
||||
/// Total size of returned session information minus this field
|
||||
/// Bytes 1 to 0
|
||||
/// Total size of returned session information minus this field
|
||||
/// </summary>
|
||||
public ushort DataLength;
|
||||
/// <summary>
|
||||
/// Byte 2
|
||||
/// Reserved
|
||||
/// Byte 2
|
||||
/// Reserved
|
||||
/// </summary>
|
||||
public byte Reserved1;
|
||||
/// <summary>
|
||||
/// Byte 3
|
||||
/// Reserved
|
||||
/// Byte 3
|
||||
/// Reserved
|
||||
/// </summary>
|
||||
public byte Reserved2;
|
||||
/// <summary>
|
||||
/// Byte 4, bits 7 to 4
|
||||
/// Indicative target writing power
|
||||
/// Byte 4, bits 7 to 4
|
||||
/// Indicative target writing power
|
||||
/// </summary>
|
||||
public byte ITWP;
|
||||
/// <summary>
|
||||
/// Byte 4, bit 3
|
||||
/// Set if DDCD
|
||||
/// Byte 4, bit 3
|
||||
/// Set if DDCD
|
||||
/// </summary>
|
||||
public bool DDCD;
|
||||
/// <summary>
|
||||
/// Byte 4, bits 2 to 0
|
||||
/// Reference speed
|
||||
/// Byte 4, bits 2 to 0
|
||||
/// Reference speed
|
||||
/// </summary>
|
||||
public byte ReferenceSpeed;
|
||||
/// <summary>
|
||||
/// Byte 5, bit 7
|
||||
/// Always unset
|
||||
/// Byte 5, bit 7
|
||||
/// Always unset
|
||||
/// </summary>
|
||||
public bool AlwaysZero;
|
||||
/// <summary>
|
||||
/// Byte 5, bit 6
|
||||
/// Unrestricted media
|
||||
/// Byte 5, bit 6
|
||||
/// Unrestricted media
|
||||
/// </summary>
|
||||
public bool URU;
|
||||
/// <summary>
|
||||
/// Byte 5, bits 5 to 0
|
||||
/// Reserved
|
||||
/// Byte 5, bits 5 to 0
|
||||
/// Reserved
|
||||
/// </summary>
|
||||
public byte Reserved3;
|
||||
/// <summary>
|
||||
/// Byte 6, bit 7
|
||||
/// Always set
|
||||
/// Byte 6, bit 7
|
||||
/// Always set
|
||||
/// </summary>
|
||||
public bool AlwaysOne;
|
||||
/// <summary>
|
||||
/// Byte 6, bit 6
|
||||
/// Set if rewritable (CD-RW or DDCD-RW)
|
||||
/// Byte 6, bit 6
|
||||
/// Set if rewritable (CD-RW or DDCD-RW)
|
||||
/// </summary>
|
||||
public bool DiscType;
|
||||
/// <summary>
|
||||
/// Byte 6, bits 5 to 3
|
||||
/// Disc subtype
|
||||
/// Byte 6, bits 5 to 3
|
||||
/// Disc subtype
|
||||
/// </summary>
|
||||
public byte DiscSubType;
|
||||
/// <summary>
|
||||
/// Byte 6, bit 2
|
||||
/// A1 values are valid
|
||||
/// Byte 6, bit 2
|
||||
/// A1 values are valid
|
||||
/// </summary>
|
||||
public bool A1Valid;
|
||||
/// <summary>
|
||||
/// Byte 6, bit 1
|
||||
/// A2 values are valid
|
||||
/// Byte 6, bit 1
|
||||
/// A2 values are valid
|
||||
/// </summary>
|
||||
public bool A2Valid;
|
||||
/// <summary>
|
||||
/// Byte 6, bit 0
|
||||
/// A3 values are valid
|
||||
/// Byte 6, bit 0
|
||||
/// A3 values are valid
|
||||
/// </summary>
|
||||
public bool A3Valid;
|
||||
/// <summary>
|
||||
/// Byte 7
|
||||
/// Reserved
|
||||
/// Byte 7
|
||||
/// Reserved
|
||||
/// </summary>
|
||||
public byte Reserved4;
|
||||
/// <summary>
|
||||
/// Byte 8
|
||||
/// ATIP Start time of Lead-In (Minute)
|
||||
/// Byte 8
|
||||
/// ATIP Start time of Lead-In (Minute)
|
||||
/// </summary>
|
||||
public byte LeadInStartMin;
|
||||
/// <summary>
|
||||
/// Byte 9
|
||||
/// ATIP Start time of Lead-In (Second)
|
||||
/// Byte 9
|
||||
/// ATIP Start time of Lead-In (Second)
|
||||
/// </summary>
|
||||
public byte LeadInStartSec;
|
||||
/// <summary>
|
||||
/// Byte 10
|
||||
/// ATIP Start time of Lead-In (Frame)
|
||||
/// Byte 10
|
||||
/// ATIP Start time of Lead-In (Frame)
|
||||
/// </summary>
|
||||
public byte LeadInStartFrame;
|
||||
/// <summary>
|
||||
/// Byte 11
|
||||
/// Reserved
|
||||
/// Byte 11
|
||||
/// Reserved
|
||||
/// </summary>
|
||||
public byte Reserved5;
|
||||
/// <summary>
|
||||
/// Byte 12
|
||||
/// ATIP Last possible start time of Lead-Out (Minute)
|
||||
/// Byte 12
|
||||
/// ATIP Last possible start time of Lead-Out (Minute)
|
||||
/// </summary>
|
||||
public byte LeadOutStartMin;
|
||||
/// <summary>
|
||||
/// Byte 13
|
||||
/// ATIP Last possible start time of Lead-Out (Second)
|
||||
/// Byte 13
|
||||
/// ATIP Last possible start time of Lead-Out (Second)
|
||||
/// </summary>
|
||||
public byte LeadOutStartSec;
|
||||
/// <summary>
|
||||
/// Byte 14
|
||||
/// ATIP Last possible start time of Lead-Out (Frame)
|
||||
/// Byte 14
|
||||
/// ATIP Last possible start time of Lead-Out (Frame)
|
||||
/// </summary>
|
||||
public byte LeadOutStartFrame;
|
||||
/// <summary>
|
||||
/// Byte 15
|
||||
/// Reserved
|
||||
/// Byte 15
|
||||
/// Reserved
|
||||
/// </summary>
|
||||
public byte Reserved6;
|
||||
/// <summary>
|
||||
/// Bytes 16 to 18
|
||||
/// A1 values
|
||||
/// Bytes 16 to 18
|
||||
/// A1 values
|
||||
/// </summary>
|
||||
public byte[] A1Values;
|
||||
/// <summary>
|
||||
/// Byte 19
|
||||
/// Reserved
|
||||
/// Byte 19
|
||||
/// Reserved
|
||||
/// </summary>
|
||||
public byte Reserved7;
|
||||
/// <summary>
|
||||
/// Bytes 20 to 22
|
||||
/// A2 values
|
||||
/// Bytes 20 to 22
|
||||
/// A2 values
|
||||
/// </summary>
|
||||
public byte[] A2Values;
|
||||
/// <summary>
|
||||
/// Byte 23
|
||||
/// Reserved
|
||||
/// Byte 23
|
||||
/// Reserved
|
||||
/// </summary>
|
||||
public byte Reserved8;
|
||||
/// <summary>
|
||||
/// Bytes 24 to 26
|
||||
/// A3 values
|
||||
/// Bytes 24 to 26
|
||||
/// A3 values
|
||||
/// </summary>
|
||||
public byte[] A3Values;
|
||||
/// <summary>
|
||||
/// Byte 27
|
||||
/// Reserved
|
||||
/// Byte 27
|
||||
/// Reserved
|
||||
/// </summary>
|
||||
public byte Reserved9;
|
||||
/// <summary>
|
||||
/// Bytes 28 to 30
|
||||
/// S4 values
|
||||
/// Bytes 28 to 30
|
||||
/// S4 values
|
||||
/// </summary>
|
||||
public byte[] S4Values;
|
||||
/// <summary>
|
||||
/// Byte 31
|
||||
/// Reserved
|
||||
/// Byte 31
|
||||
/// Reserved
|
||||
/// </summary>
|
||||
public byte Reserved10;
|
||||
}
|
||||
@@ -434,11 +434,9 @@ namespace DiscImageChef.Decoders.CD
|
||||
|
||||
if(response.DiscType) sb.AppendLine("Disc uses phase change");
|
||||
else
|
||||
{
|
||||
sb.AppendLine(type < 5
|
||||
? "Disc uses long strategy type dye (Cyanine, AZO, etc...)"
|
||||
: "Disc uses short strategy type dye (Phthalocyanine, etc...)");
|
||||
}
|
||||
|
||||
string manufacturer = ManufacturerFromATIP(response.LeadInStartSec, frm);
|
||||
|
||||
@@ -458,7 +456,8 @@ namespace DiscImageChef.Decoders.CD
|
||||
switch(sec)
|
||||
{
|
||||
case 15:
|
||||
switch(frm) {
|
||||
switch(frm)
|
||||
{
|
||||
case 00: return "TDK Corporation";
|
||||
case 10: return "Ritek Co.";
|
||||
case 20: return "Mitsubishi Chemical Corporation";
|
||||
@@ -467,7 +466,8 @@ namespace DiscImageChef.Decoders.CD
|
||||
|
||||
break;
|
||||
case 16:
|
||||
switch(frm) {
|
||||
switch(frm)
|
||||
{
|
||||
case 20: return "Shenzen SG&Gast Digital Optical Discs";
|
||||
case 30: return "Grand Advance Technology Ltd.";
|
||||
}
|
||||
@@ -478,7 +478,8 @@ namespace DiscImageChef.Decoders.CD
|
||||
|
||||
break;
|
||||
case 18:
|
||||
switch(frm) {
|
||||
switch(frm)
|
||||
{
|
||||
case 10: return "Wealth Fair Investment Ltd.";
|
||||
case 60: return "Taroko International Co. Ltd.";
|
||||
}
|
||||
@@ -489,7 +490,8 @@ namespace DiscImageChef.Decoders.CD
|
||||
|
||||
break;
|
||||
case 21:
|
||||
switch(frm) {
|
||||
switch(frm)
|
||||
{
|
||||
case 10: return "Grupo Condor S.L.";
|
||||
case 30: return "Bestdisc Technology Corporation";
|
||||
case 40: return "Optical Disc Manufacturing Equipment";
|
||||
@@ -498,7 +500,8 @@ namespace DiscImageChef.Decoders.CD
|
||||
|
||||
break;
|
||||
case 22:
|
||||
switch(frm) {
|
||||
switch(frm)
|
||||
{
|
||||
case 00: return "Woongjin Media Corp.";
|
||||
case 10: return "Seantram Technology Inc.";
|
||||
case 20: return "Advanced Digital Media";
|
||||
@@ -510,7 +513,8 @@ namespace DiscImageChef.Decoders.CD
|
||||
|
||||
break;
|
||||
case 23:
|
||||
switch(frm) {
|
||||
switch(frm)
|
||||
{
|
||||
case 00: return "Matsushita Electric Industrial Co., Ltd.";
|
||||
case 10: return "Doremi Media Co., Ltd.";
|
||||
case 20: return "Nacar Media s.r.l.";
|
||||
@@ -522,7 +526,8 @@ namespace DiscImageChef.Decoders.CD
|
||||
|
||||
break;
|
||||
case 24:
|
||||
switch(frm) {
|
||||
switch(frm)
|
||||
{
|
||||
case 00: return "Taiyo Yuden Company Ltd.";
|
||||
case 10: return "SONY Corporation";
|
||||
case 20: return "Computer Support Italy s.r.l.";
|
||||
@@ -534,7 +539,8 @@ namespace DiscImageChef.Decoders.CD
|
||||
|
||||
break;
|
||||
case 25:
|
||||
switch(frm) {
|
||||
switch(frm)
|
||||
{
|
||||
case 00: return "MPO";
|
||||
case 20: return "Hitachi Maxell, Ltd.";
|
||||
case 30: return "Infodisc Technology Co. Ltd.";
|
||||
@@ -545,7 +551,8 @@ namespace DiscImageChef.Decoders.CD
|
||||
|
||||
break;
|
||||
case 26:
|
||||
switch(frm) {
|
||||
switch(frm)
|
||||
{
|
||||
case 00: return "Fornet International Pte Ltd.";
|
||||
case 10: return "POSTECH Corporation";
|
||||
case 20: return "SKC Co., Ltd.";
|
||||
@@ -557,7 +564,8 @@ namespace DiscImageChef.Decoders.CD
|
||||
|
||||
break;
|
||||
case 27:
|
||||
switch(frm) {
|
||||
switch(frm)
|
||||
{
|
||||
case 00: return "Digital Storage Technology Co., Ltd.";
|
||||
case 10: return "Plasmon Data systems Ltd.";
|
||||
case 20: return "Princo Corporation";
|
||||
@@ -569,7 +577,8 @@ namespace DiscImageChef.Decoders.CD
|
||||
|
||||
break;
|
||||
case 28:
|
||||
switch(frm) {
|
||||
switch(frm)
|
||||
{
|
||||
case 00: return "Opti.Me.S. S.p.A.";
|
||||
case 10: return "Gigastore Corporation";
|
||||
case 20: return "Multi Media Masters & Machinary SA";
|
||||
@@ -581,7 +590,8 @@ namespace DiscImageChef.Decoders.CD
|
||||
|
||||
break;
|
||||
case 29:
|
||||
switch(frm) {
|
||||
switch(frm)
|
||||
{
|
||||
case 00: return "Taeil Media Co., Ltd.";
|
||||
case 10: return "Vanguard Disc Inc.";
|
||||
case 20: return "Unidisc Technology Co., Ltd.";
|
||||
@@ -596,14 +606,16 @@ namespace DiscImageChef.Decoders.CD
|
||||
|
||||
break;
|
||||
case 31:
|
||||
switch(frm) {
|
||||
switch(frm)
|
||||
{
|
||||
case 00: return "Ritek Co.";
|
||||
case 30: return "Grand Advance Technology Ltd.";
|
||||
}
|
||||
|
||||
break;
|
||||
case 32:
|
||||
switch(frm) {
|
||||
switch(frm)
|
||||
{
|
||||
case 00: return "TDK Corporation";
|
||||
case 10: return "Prodisc Technology Inc.";
|
||||
}
|
||||
@@ -618,7 +630,8 @@ namespace DiscImageChef.Decoders.CD
|
||||
|
||||
break;
|
||||
case 45:
|
||||
switch(frm) {
|
||||
switch(frm)
|
||||
{
|
||||
case 00: return "Fornet International Pte Ltd.";
|
||||
case 10: return "Unitech Japan Inc.";
|
||||
case 20: return "Acer Media Technology, Inc.";
|
||||
@@ -629,7 +642,8 @@ namespace DiscImageChef.Decoders.CD
|
||||
|
||||
break;
|
||||
case 46:
|
||||
switch(frm) {
|
||||
switch(frm)
|
||||
{
|
||||
case 00: return "Taiyo Yuden Company Ltd.";
|
||||
case 10: return "Hong Kong Digital Technology Co., Ltd.";
|
||||
case 20: return "Multi Media Masters & Machinary SA";
|
||||
@@ -641,7 +655,8 @@ namespace DiscImageChef.Decoders.CD
|
||||
|
||||
break;
|
||||
case 47:
|
||||
switch(frm) {
|
||||
switch(frm)
|
||||
{
|
||||
case 10: return "Hitachi Maxell, Ltd.";
|
||||
case 20: return "Princo Corporation";
|
||||
case 40: return "POSTECH Corporation";
|
||||
@@ -651,7 +666,8 @@ namespace DiscImageChef.Decoders.CD
|
||||
|
||||
break;
|
||||
case 48:
|
||||
switch(frm) {
|
||||
switch(frm)
|
||||
{
|
||||
case 00: return "Ricoh Company Ltd.";
|
||||
case 10: return "Kodak Japan Ltd.";
|
||||
case 20: return "Plasmon Data systems Ltd.";
|
||||
@@ -663,7 +679,8 @@ namespace DiscImageChef.Decoders.CD
|
||||
|
||||
break;
|
||||
case 49:
|
||||
switch(frm) {
|
||||
switch(frm)
|
||||
{
|
||||
case 00: return "TDK Corporation";
|
||||
case 10: return "Gigastore Corporation";
|
||||
case 20: return "King Pro Mediatek Inc.";
|
||||
@@ -674,7 +691,8 @@ namespace DiscImageChef.Decoders.CD
|
||||
|
||||
break;
|
||||
case 50:
|
||||
switch(frm) {
|
||||
switch(frm)
|
||||
{
|
||||
case 10: return "Vanguard Disc Inc.";
|
||||
case 20: return "Mitsubishi Chemical Corporation";
|
||||
case 30: return "CDA Datenträger Albrechts GmbH";
|
||||
@@ -682,7 +700,8 @@ namespace DiscImageChef.Decoders.CD
|
||||
|
||||
break;
|
||||
case 51:
|
||||
switch(frm) {
|
||||
switch(frm)
|
||||
{
|
||||
case 10: return "Grand Advance Technology Ltd.";
|
||||
case 20: return "Infodisc Technology Co. Ltd.";
|
||||
case 50: return "Hile Optical Disc Technology Corp.";
|
||||
|
||||
@@ -38,19 +38,19 @@ using DiscImageChef.Console;
|
||||
namespace DiscImageChef.Decoders.CD
|
||||
{
|
||||
/// <summary>
|
||||
/// Information from the following standards:
|
||||
/// ANSI X3.304-1997
|
||||
/// T10/1048-D revision 9.0
|
||||
/// T10/1048-D revision 10a
|
||||
/// T10/1228-D revision 7.0c
|
||||
/// T10/1228-D revision 11a
|
||||
/// T10/1363-D revision 10g
|
||||
/// T10/1545-D revision 1d
|
||||
/// T10/1545-D revision 5
|
||||
/// T10/1545-D revision 5a
|
||||
/// T10/1675-D revision 2c
|
||||
/// T10/1675-D revision 4
|
||||
/// T10/1836-D revision 2g
|
||||
/// Information from the following standards:
|
||||
/// ANSI X3.304-1997
|
||||
/// T10/1048-D revision 9.0
|
||||
/// T10/1048-D revision 10a
|
||||
/// T10/1228-D revision 7.0c
|
||||
/// T10/1228-D revision 11a
|
||||
/// T10/1363-D revision 10g
|
||||
/// T10/1545-D revision 1d
|
||||
/// T10/1545-D revision 5
|
||||
/// T10/1545-D revision 5a
|
||||
/// T10/1675-D revision 2c
|
||||
/// T10/1675-D revision 4
|
||||
/// T10/1836-D revision 2g
|
||||
/// </summary>
|
||||
[SuppressMessage("ReSharper", "InconsistentNaming")]
|
||||
[SuppressMessage("ReSharper", "MemberCanBeInternal")]
|
||||
@@ -61,67 +61,67 @@ namespace DiscImageChef.Decoders.CD
|
||||
public enum PackTypeIndicator : byte
|
||||
{
|
||||
/// <summary>
|
||||
/// Title of the track (or album if track == 0)
|
||||
/// Title of the track (or album if track == 0)
|
||||
/// </summary>
|
||||
Title = 0x80,
|
||||
/// <summary>
|
||||
/// Performer
|
||||
/// Performer
|
||||
/// </summary>
|
||||
Performer = 0x81,
|
||||
/// <summary>
|
||||
/// Songwriter
|
||||
/// Songwriter
|
||||
/// </summary>
|
||||
Songwriter = 0x82,
|
||||
/// <summary>
|
||||
/// Composer
|
||||
/// Composer
|
||||
/// </summary>
|
||||
Composer = 0x83,
|
||||
/// <summary>
|
||||
/// Arranger
|
||||
/// Arranger
|
||||
/// </summary>
|
||||
Arranger = 0x84,
|
||||
/// <summary>
|
||||
/// Message from the content provider or artist
|
||||
/// Message from the content provider or artist
|
||||
/// </summary>
|
||||
Message = 0x85,
|
||||
/// <summary>
|
||||
/// Disc identification information
|
||||
/// Disc identification information
|
||||
/// </summary>
|
||||
DiscIdentification = 0x86,
|
||||
/// <summary>
|
||||
/// Genre identification
|
||||
/// Genre identification
|
||||
/// </summary>
|
||||
GenreIdentification = 0x87,
|
||||
/// <summary>
|
||||
/// Table of content information
|
||||
/// Table of content information
|
||||
/// </summary>
|
||||
TOCInformation = 0x88,
|
||||
/// <summary>
|
||||
/// Second table of content information
|
||||
/// Second table of content information
|
||||
/// </summary>
|
||||
SecondTOCInformation = 0x89,
|
||||
/// <summary>
|
||||
/// Reserved
|
||||
/// Reserved
|
||||
/// </summary>
|
||||
Reserved1 = 0x8A,
|
||||
/// <summary>
|
||||
/// Reserved
|
||||
/// Reserved
|
||||
/// </summary>
|
||||
Reserved2 = 0x8B,
|
||||
/// <summary>
|
||||
/// Reserved
|
||||
/// Reserved
|
||||
/// </summary>
|
||||
Reserved3 = 0x8C,
|
||||
/// <summary>
|
||||
/// Reserved for content provider only
|
||||
/// Reserved for content provider only
|
||||
/// </summary>
|
||||
ReservedForContentProvider = 0x8D,
|
||||
/// <summary>
|
||||
/// UPC of album or ISRC of track
|
||||
/// UPC of album or ISRC of track
|
||||
/// </summary>
|
||||
UPCorISRC = 0x8E,
|
||||
/// <summary>
|
||||
/// Size information of the block
|
||||
/// Size information of the block
|
||||
/// </summary>
|
||||
BlockSizeInformation = 0x8F
|
||||
}
|
||||
@@ -129,19 +129,19 @@ namespace DiscImageChef.Decoders.CD
|
||||
public struct CDText
|
||||
{
|
||||
/// <summary>
|
||||
/// Total size of returned CD-Text information minus this field
|
||||
/// Total size of returned CD-Text information minus this field
|
||||
/// </summary>
|
||||
public ushort DataLength;
|
||||
/// <summary>
|
||||
/// Reserved
|
||||
/// Reserved
|
||||
/// </summary>
|
||||
public byte Reserved1;
|
||||
/// <summary>
|
||||
/// Reserved
|
||||
/// Reserved
|
||||
/// </summary>
|
||||
public byte Reserved2;
|
||||
/// <summary>
|
||||
/// CD-Text data packs
|
||||
/// CD-Text data packs
|
||||
/// </summary>
|
||||
public CDTextPack[] DataPacks;
|
||||
}
|
||||
@@ -149,43 +149,43 @@ namespace DiscImageChef.Decoders.CD
|
||||
public struct CDTextPack
|
||||
{
|
||||
/// <summary>
|
||||
/// Byte 0
|
||||
/// Pack ID1 (Pack Type)
|
||||
/// Byte 0
|
||||
/// Pack ID1 (Pack Type)
|
||||
/// </summary>
|
||||
public byte HeaderID1;
|
||||
/// <summary>
|
||||
/// Byte 1
|
||||
/// Pack ID2 (Track number)
|
||||
/// Byte 1
|
||||
/// Pack ID2 (Track number)
|
||||
/// </summary>
|
||||
public byte HeaderID2;
|
||||
/// <summary>
|
||||
/// Byte 2
|
||||
/// Pack ID3
|
||||
/// Byte 2
|
||||
/// Pack ID3
|
||||
/// </summary>
|
||||
public byte HeaderID3;
|
||||
/// <summary>
|
||||
/// Byte 3, bit 7
|
||||
/// Double Byte Character Code
|
||||
/// Byte 3, bit 7
|
||||
/// Double Byte Character Code
|
||||
/// </summary>
|
||||
public bool DBCC;
|
||||
/// <summary>
|
||||
/// Byte 3, bits 6 to 4
|
||||
/// Block number
|
||||
/// Byte 3, bits 6 to 4
|
||||
/// Block number
|
||||
/// </summary>
|
||||
public byte BlockNumber;
|
||||
/// <summary>
|
||||
/// Byte 3, bits 3 to 0
|
||||
/// Character position
|
||||
/// Byte 3, bits 3 to 0
|
||||
/// Character position
|
||||
/// </summary>
|
||||
public byte CharacterPosition;
|
||||
/// <summary>
|
||||
/// Bytes 4 to 15
|
||||
/// Text data
|
||||
/// Bytes 4 to 15
|
||||
/// Text data
|
||||
/// </summary>
|
||||
public byte[] TextDataField;
|
||||
/// <summary>
|
||||
/// Bytes 16 to 17
|
||||
/// CRC16
|
||||
/// Bytes 16 to 17
|
||||
/// CRC16
|
||||
/// </summary>
|
||||
public ushort CRC;
|
||||
}
|
||||
|
||||
28
CD/Enums.cs
28
CD/Enums.cs
@@ -38,27 +38,27 @@ namespace DiscImageChef.Decoders.CD
|
||||
public enum TocAdr : byte
|
||||
{
|
||||
/// <summary>
|
||||
/// Q Sub-channel mode information not supplied
|
||||
/// Q Sub-channel mode information not supplied
|
||||
/// </summary>
|
||||
NoInformation = 0x00,
|
||||
/// <summary>
|
||||
/// Q Sub-channel encodes current position data
|
||||
/// Q Sub-channel encodes current position data
|
||||
/// </summary>
|
||||
CurrentPosition = 0x01,
|
||||
/// <summary>
|
||||
/// Q Sub-channel encodes the media catalog number
|
||||
/// Q Sub-channel encodes the media catalog number
|
||||
/// </summary>
|
||||
MediaCatalogNumber = 0x02,
|
||||
/// <summary>
|
||||
/// Q Sub-channel encodes the ISRC
|
||||
/// Q Sub-channel encodes the ISRC
|
||||
/// </summary>
|
||||
ISRC = 0x03,
|
||||
/// <summary>
|
||||
/// Q Sub-channel encodes the start of an audio/data track (if found in TOC)
|
||||
/// Q Sub-channel encodes the start of an audio/data track (if found in TOC)
|
||||
/// </summary>
|
||||
TrackPointer = 0x01,
|
||||
/// <summary>
|
||||
/// Q Sub-channel encodes the start of a video track (if found in TOC) for CD-V
|
||||
/// Q Sub-channel encodes the start of a video track (if found in TOC) for CD-V
|
||||
/// </summary>
|
||||
VideoTrackPointer = 0x04
|
||||
}
|
||||
@@ -66,35 +66,35 @@ namespace DiscImageChef.Decoders.CD
|
||||
public enum TocControl : byte
|
||||
{
|
||||
/// <summary>
|
||||
/// Stereo audio, no pre-emphasis
|
||||
/// Stereo audio, no pre-emphasis
|
||||
/// </summary>
|
||||
TwoChanNoPreEmph = 0x00,
|
||||
/// <summary>
|
||||
/// Stereo audio with pre-emphasis
|
||||
/// Stereo audio with pre-emphasis
|
||||
/// </summary>
|
||||
TwoChanPreEmph = 0x01,
|
||||
/// <summary>
|
||||
/// If mask applied, track can be copied
|
||||
/// If mask applied, track can be copied
|
||||
/// </summary>
|
||||
CopyPermissionMask = 0x02,
|
||||
/// <summary>
|
||||
/// Data track, recorded uninterrumpted
|
||||
/// Data track, recorded uninterrumpted
|
||||
/// </summary>
|
||||
DataTrack = 0x04,
|
||||
/// <summary>
|
||||
/// Data track, recorded incrementally
|
||||
/// Data track, recorded incrementally
|
||||
/// </summary>
|
||||
DataTrackIncremental = 0x05,
|
||||
/// <summary>
|
||||
/// Quadraphonic audio, no pre-emphasis
|
||||
/// Quadraphonic audio, no pre-emphasis
|
||||
/// </summary>
|
||||
FourChanNoPreEmph = 0x08,
|
||||
/// <summary>
|
||||
/// Quadraphonic audio with pre-emphasis
|
||||
/// Quadraphonic audio with pre-emphasis
|
||||
/// </summary>
|
||||
FourChanPreEmph = 0x09,
|
||||
/// <summary>
|
||||
/// Reserved mask
|
||||
/// Reserved mask
|
||||
/// </summary>
|
||||
ReservedMask = 0x0C
|
||||
}
|
||||
|
||||
@@ -38,21 +38,21 @@ using DiscImageChef.Console;
|
||||
namespace DiscImageChef.Decoders.CD
|
||||
{
|
||||
/// <summary>
|
||||
/// Information from the following standards:
|
||||
/// ANSI X3.304-1997
|
||||
/// T10/1048-D revision 9.0
|
||||
/// T10/1048-D revision 10a
|
||||
/// T10/1228-D revision 7.0c
|
||||
/// T10/1228-D revision 11a
|
||||
/// T10/1363-D revision 10g
|
||||
/// T10/1545-D revision 1d
|
||||
/// T10/1545-D revision 5
|
||||
/// T10/1545-D revision 5a
|
||||
/// T10/1675-D revision 2c
|
||||
/// T10/1675-D revision 4
|
||||
/// T10/1836-D revision 2g
|
||||
/// ISO/IEC 61104: Compact disc video system - 12 cm CD-V
|
||||
/// ISO/IEC 60908: Audio recording - Compact disc digital audio system
|
||||
/// Information from the following standards:
|
||||
/// ANSI X3.304-1997
|
||||
/// T10/1048-D revision 9.0
|
||||
/// T10/1048-D revision 10a
|
||||
/// T10/1228-D revision 7.0c
|
||||
/// T10/1228-D revision 11a
|
||||
/// T10/1363-D revision 10g
|
||||
/// T10/1545-D revision 1d
|
||||
/// T10/1545-D revision 5
|
||||
/// T10/1545-D revision 5a
|
||||
/// T10/1675-D revision 2c
|
||||
/// T10/1675-D revision 4
|
||||
/// T10/1836-D revision 2g
|
||||
/// ISO/IEC 61104: Compact disc video system - 12 cm CD-V
|
||||
/// ISO/IEC 60908: Audio recording - Compact disc digital audio system
|
||||
/// </summary>
|
||||
[SuppressMessage("ReSharper", "InconsistentNaming")]
|
||||
[SuppressMessage("ReSharper", "MemberCanBeInternal")]
|
||||
@@ -69,19 +69,19 @@ namespace DiscImageChef.Decoders.CD
|
||||
public struct CDFullTOC
|
||||
{
|
||||
/// <summary>
|
||||
/// Total size of returned session information minus this field
|
||||
/// Total size of returned session information minus this field
|
||||
/// </summary>
|
||||
public ushort DataLength;
|
||||
/// <summary>
|
||||
/// First complete session number in hex
|
||||
/// First complete session number in hex
|
||||
/// </summary>
|
||||
public byte FirstCompleteSession;
|
||||
/// <summary>
|
||||
/// Last complete session number in hex
|
||||
/// Last complete session number in hex
|
||||
/// </summary>
|
||||
public byte LastCompleteSession;
|
||||
/// <summary>
|
||||
/// Track descriptors
|
||||
/// Track descriptors
|
||||
/// </summary>
|
||||
public TrackDataDescriptor[] TrackDescriptors;
|
||||
}
|
||||
@@ -89,62 +89,62 @@ namespace DiscImageChef.Decoders.CD
|
||||
public struct TrackDataDescriptor
|
||||
{
|
||||
/// <summary>
|
||||
/// Byte 0
|
||||
/// Session number in hex
|
||||
/// Byte 0
|
||||
/// Session number in hex
|
||||
/// </summary>
|
||||
public byte SessionNumber;
|
||||
/// <summary>
|
||||
/// Byte 1, bits 7 to 4
|
||||
/// Type of information in Q subchannel of block where this TOC entry was found
|
||||
/// Byte 1, bits 7 to 4
|
||||
/// Type of information in Q subchannel of block where this TOC entry was found
|
||||
/// </summary>
|
||||
public byte ADR;
|
||||
/// <summary>
|
||||
/// Byte 1, bits 3 to 0
|
||||
/// Track attributes
|
||||
/// Byte 1, bits 3 to 0
|
||||
/// Track attributes
|
||||
/// </summary>
|
||||
public byte CONTROL;
|
||||
/// <summary>
|
||||
/// Byte 2
|
||||
/// Byte 2
|
||||
/// </summary>
|
||||
public byte TNO;
|
||||
/// <summary>
|
||||
/// Byte 3
|
||||
/// Byte 3
|
||||
/// </summary>
|
||||
public byte POINT;
|
||||
/// <summary>
|
||||
/// Byte 4
|
||||
/// Byte 4
|
||||
/// </summary>
|
||||
public byte Min;
|
||||
/// <summary>
|
||||
/// Byte 5
|
||||
/// Byte 5
|
||||
/// </summary>
|
||||
public byte Sec;
|
||||
/// <summary>
|
||||
/// Byte 6
|
||||
/// Byte 6
|
||||
/// </summary>
|
||||
public byte Frame;
|
||||
/// <summary>
|
||||
/// Byte 7, CD only
|
||||
/// Byte 7, CD only
|
||||
/// </summary>
|
||||
public byte Zero;
|
||||
/// <summary>
|
||||
/// Byte 7, bits 7 to 4, DDCD only
|
||||
/// Byte 7, bits 7 to 4, DDCD only
|
||||
/// </summary>
|
||||
public byte HOUR;
|
||||
/// <summary>
|
||||
/// Byte 7, bits 3 to 0, DDCD only
|
||||
/// Byte 7, bits 3 to 0, DDCD only
|
||||
/// </summary>
|
||||
public byte PHOUR;
|
||||
/// <summary>
|
||||
/// Byte 8
|
||||
/// Byte 8
|
||||
/// </summary>
|
||||
public byte PMIN;
|
||||
/// <summary>
|
||||
/// Byte 9
|
||||
/// Byte 9
|
||||
/// </summary>
|
||||
public byte PSEC;
|
||||
/// <summary>
|
||||
/// Byte 10
|
||||
/// Byte 10
|
||||
/// </summary>
|
||||
public byte PFRAME;
|
||||
}
|
||||
|
||||
66
CD/PMA.cs
66
CD/PMA.cs
@@ -38,19 +38,19 @@ using DiscImageChef.Console;
|
||||
namespace DiscImageChef.Decoders.CD
|
||||
{
|
||||
/// <summary>
|
||||
/// Information from the following standards:
|
||||
/// ANSI X3.304-1997
|
||||
/// T10/1048-D revision 9.0
|
||||
/// T10/1048-D revision 10a
|
||||
/// T10/1228-D revision 7.0c
|
||||
/// T10/1228-D revision 11a
|
||||
/// T10/1363-D revision 10g
|
||||
/// T10/1545-D revision 1d
|
||||
/// T10/1545-D revision 5
|
||||
/// T10/1545-D revision 5a
|
||||
/// T10/1675-D revision 2c
|
||||
/// T10/1675-D revision 4
|
||||
/// T10/1836-D revision 2g
|
||||
/// Information from the following standards:
|
||||
/// ANSI X3.304-1997
|
||||
/// T10/1048-D revision 9.0
|
||||
/// T10/1048-D revision 10a
|
||||
/// T10/1228-D revision 7.0c
|
||||
/// T10/1228-D revision 11a
|
||||
/// T10/1363-D revision 10g
|
||||
/// T10/1545-D revision 1d
|
||||
/// T10/1545-D revision 5
|
||||
/// T10/1545-D revision 5a
|
||||
/// T10/1675-D revision 2c
|
||||
/// T10/1675-D revision 4
|
||||
/// T10/1836-D revision 2g
|
||||
/// </summary>
|
||||
[SuppressMessage("ReSharper", "InconsistentNaming")]
|
||||
[SuppressMessage("ReSharper", "MemberCanBeInternal")]
|
||||
@@ -60,19 +60,19 @@ namespace DiscImageChef.Decoders.CD
|
||||
public struct CDPMA
|
||||
{
|
||||
/// <summary>
|
||||
/// Total size of returned session information minus this field
|
||||
/// Total size of returned session information minus this field
|
||||
/// </summary>
|
||||
public ushort DataLength;
|
||||
/// <summary>
|
||||
/// Reserved
|
||||
/// Reserved
|
||||
/// </summary>
|
||||
public byte Reserved1;
|
||||
/// <summary>
|
||||
/// Reserved
|
||||
/// Reserved
|
||||
/// </summary>
|
||||
public byte Reserved2;
|
||||
/// <summary>
|
||||
/// Track descriptors
|
||||
/// Track descriptors
|
||||
/// </summary>
|
||||
public CDPMADescriptors[] PMADescriptors;
|
||||
}
|
||||
@@ -80,58 +80,58 @@ namespace DiscImageChef.Decoders.CD
|
||||
public struct CDPMADescriptors
|
||||
{
|
||||
/// <summary>
|
||||
/// Byte 0
|
||||
/// Reserved
|
||||
/// Byte 0
|
||||
/// Reserved
|
||||
/// </summary>
|
||||
public byte Reserved;
|
||||
/// <summary>
|
||||
/// Byte 1, bits 7 to 4
|
||||
/// Type of information in Q subchannel of block where this TOC entry was found
|
||||
/// Byte 1, bits 7 to 4
|
||||
/// Type of information in Q subchannel of block where this TOC entry was found
|
||||
/// </summary>
|
||||
public byte ADR;
|
||||
/// <summary>
|
||||
/// Byte 1, bits 3 to 0
|
||||
/// Track attributes
|
||||
/// Byte 1, bits 3 to 0
|
||||
/// Track attributes
|
||||
/// </summary>
|
||||
public byte CONTROL;
|
||||
/// <summary>
|
||||
/// Byte 2
|
||||
/// Byte 2
|
||||
/// </summary>
|
||||
public byte TNO;
|
||||
/// <summary>
|
||||
/// Byte 3
|
||||
/// Byte 3
|
||||
/// </summary>
|
||||
public byte POINT;
|
||||
/// <summary>
|
||||
/// Byte 4
|
||||
/// Byte 4
|
||||
/// </summary>
|
||||
public byte Min;
|
||||
/// <summary>
|
||||
/// Byte 5
|
||||
/// Byte 5
|
||||
/// </summary>
|
||||
public byte Sec;
|
||||
/// <summary>
|
||||
/// Byte 6
|
||||
/// Byte 6
|
||||
/// </summary>
|
||||
public byte Frame;
|
||||
/// <summary>
|
||||
/// Byte 7, bits 7 to 4
|
||||
/// Byte 7, bits 7 to 4
|
||||
/// </summary>
|
||||
public byte HOUR;
|
||||
/// <summary>
|
||||
/// Byte 7, bits 3 to 0
|
||||
/// Byte 7, bits 3 to 0
|
||||
/// </summary>
|
||||
public byte PHOUR;
|
||||
/// <summary>
|
||||
/// Byte 8
|
||||
/// Byte 8
|
||||
/// </summary>
|
||||
public byte PMIN;
|
||||
/// <summary>
|
||||
/// Byte 9
|
||||
/// Byte 9
|
||||
/// </summary>
|
||||
public byte PSEC;
|
||||
/// <summary>
|
||||
/// Byte 10
|
||||
/// Byte 10
|
||||
/// </summary>
|
||||
public byte PFRAME;
|
||||
}
|
||||
|
||||
@@ -38,19 +38,19 @@ using DiscImageChef.Console;
|
||||
namespace DiscImageChef.Decoders.CD
|
||||
{
|
||||
/// <summary>
|
||||
/// Information from the following standards:
|
||||
/// ANSI X3.304-1997
|
||||
/// T10/1048-D revision 9.0
|
||||
/// T10/1048-D revision 10a
|
||||
/// T10/1228-D revision 7.0c
|
||||
/// T10/1228-D revision 11a
|
||||
/// T10/1363-D revision 10g
|
||||
/// T10/1545-D revision 1d
|
||||
/// T10/1545-D revision 5
|
||||
/// T10/1545-D revision 5a
|
||||
/// T10/1675-D revision 2c
|
||||
/// T10/1675-D revision 4
|
||||
/// T10/1836-D revision 2g
|
||||
/// Information from the following standards:
|
||||
/// ANSI X3.304-1997
|
||||
/// T10/1048-D revision 9.0
|
||||
/// T10/1048-D revision 10a
|
||||
/// T10/1228-D revision 7.0c
|
||||
/// T10/1228-D revision 11a
|
||||
/// T10/1363-D revision 10g
|
||||
/// T10/1545-D revision 1d
|
||||
/// T10/1545-D revision 5
|
||||
/// T10/1545-D revision 5a
|
||||
/// T10/1675-D revision 2c
|
||||
/// T10/1675-D revision 4
|
||||
/// T10/1836-D revision 2g
|
||||
/// </summary>
|
||||
[SuppressMessage("ReSharper", "InconsistentNaming")]
|
||||
[SuppressMessage("ReSharper", "MemberCanBeInternal")]
|
||||
@@ -60,19 +60,19 @@ namespace DiscImageChef.Decoders.CD
|
||||
public struct CDSessionInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// Total size of returned session information minus this field
|
||||
/// Total size of returned session information minus this field
|
||||
/// </summary>
|
||||
public ushort DataLength;
|
||||
/// <summary>
|
||||
/// First track number in hex
|
||||
/// First track number in hex
|
||||
/// </summary>
|
||||
public byte FirstCompleteSession;
|
||||
/// <summary>
|
||||
/// Last track number in hex
|
||||
/// Last track number in hex
|
||||
/// </summary>
|
||||
public byte LastCompleteSession;
|
||||
/// <summary>
|
||||
/// Track descriptors
|
||||
/// Track descriptors
|
||||
/// </summary>
|
||||
public TrackDataDescriptor[] TrackDescriptors;
|
||||
}
|
||||
@@ -80,33 +80,33 @@ namespace DiscImageChef.Decoders.CD
|
||||
public struct TrackDataDescriptor
|
||||
{
|
||||
/// <summary>
|
||||
/// Byte 0
|
||||
/// Reserved
|
||||
/// Byte 0
|
||||
/// Reserved
|
||||
/// </summary>
|
||||
public byte Reserved1;
|
||||
/// <summary>
|
||||
/// Byte 1, bits 7 to 4
|
||||
/// Type of information in Q subchannel of block where this TOC entry was found
|
||||
/// Byte 1, bits 7 to 4
|
||||
/// Type of information in Q subchannel of block where this TOC entry was found
|
||||
/// </summary>
|
||||
public byte ADR;
|
||||
/// <summary>
|
||||
/// Byte 1, bits 3 to 0
|
||||
/// Track attributes
|
||||
/// Byte 1, bits 3 to 0
|
||||
/// Track attributes
|
||||
/// </summary>
|
||||
public byte CONTROL;
|
||||
/// <summary>
|
||||
/// Byte 2
|
||||
/// First track number in last complete session
|
||||
/// Byte 2
|
||||
/// First track number in last complete session
|
||||
/// </summary>
|
||||
public byte TrackNumber;
|
||||
/// <summary>
|
||||
/// Byte 3
|
||||
/// Reserved
|
||||
/// Byte 3
|
||||
/// Reserved
|
||||
/// </summary>
|
||||
public byte Reserved2;
|
||||
/// <summary>
|
||||
/// Bytes 4 to 7
|
||||
/// First track number in last complete session start address in LBA or in MSF
|
||||
/// Bytes 4 to 7
|
||||
/// First track number in last complete session start address in LBA or in MSF
|
||||
/// </summary>
|
||||
public uint TrackStartAddress;
|
||||
}
|
||||
|
||||
62
CD/TOC.cs
62
CD/TOC.cs
@@ -38,21 +38,21 @@ using DiscImageChef.Console;
|
||||
namespace DiscImageChef.Decoders.CD
|
||||
{
|
||||
/// <summary>
|
||||
/// Information from the following standards:
|
||||
/// ANSI X3.304-1997
|
||||
/// T10/1048-D revision 9.0
|
||||
/// T10/1048-D revision 10a
|
||||
/// T10/1228-D revision 7.0c
|
||||
/// T10/1228-D revision 11a
|
||||
/// T10/1363-D revision 10g
|
||||
/// T10/1545-D revision 1d
|
||||
/// T10/1545-D revision 5
|
||||
/// T10/1545-D revision 5a
|
||||
/// T10/1675-D revision 2c
|
||||
/// T10/1675-D revision 4
|
||||
/// T10/1836-D revision 2g
|
||||
/// ISO/IEC 61104: Compact disc video system - 12 cm CD-V
|
||||
/// ISO/IEC 60908: Audio recording - Compact disc digital audio system
|
||||
/// Information from the following standards:
|
||||
/// ANSI X3.304-1997
|
||||
/// T10/1048-D revision 9.0
|
||||
/// T10/1048-D revision 10a
|
||||
/// T10/1228-D revision 7.0c
|
||||
/// T10/1228-D revision 11a
|
||||
/// T10/1363-D revision 10g
|
||||
/// T10/1545-D revision 1d
|
||||
/// T10/1545-D revision 5
|
||||
/// T10/1545-D revision 5a
|
||||
/// T10/1675-D revision 2c
|
||||
/// T10/1675-D revision 4
|
||||
/// T10/1836-D revision 2g
|
||||
/// ISO/IEC 61104: Compact disc video system - 12 cm CD-V
|
||||
/// ISO/IEC 60908: Audio recording - Compact disc digital audio system
|
||||
/// </summary>
|
||||
[SuppressMessage("ReSharper", "InconsistentNaming")]
|
||||
[SuppressMessage("ReSharper", "MemberCanBeInternal")]
|
||||
@@ -62,19 +62,19 @@ namespace DiscImageChef.Decoders.CD
|
||||
public struct CDTOC
|
||||
{
|
||||
/// <summary>
|
||||
/// Total size of returned TOC minus this field
|
||||
/// Total size of returned TOC minus this field
|
||||
/// </summary>
|
||||
public ushort DataLength;
|
||||
/// <summary>
|
||||
/// First track number in hex
|
||||
/// First track number in hex
|
||||
/// </summary>
|
||||
public byte FirstTrack;
|
||||
/// <summary>
|
||||
/// Last track number in hex
|
||||
/// Last track number in hex
|
||||
/// </summary>
|
||||
public byte LastTrack;
|
||||
/// <summary>
|
||||
/// Track descriptors
|
||||
/// Track descriptors
|
||||
/// </summary>
|
||||
public CDTOCTrackDataDescriptor[] TrackDescriptors;
|
||||
}
|
||||
@@ -82,33 +82,33 @@ namespace DiscImageChef.Decoders.CD
|
||||
public struct CDTOCTrackDataDescriptor
|
||||
{
|
||||
/// <summary>
|
||||
/// Byte 0
|
||||
/// Reserved
|
||||
/// Byte 0
|
||||
/// Reserved
|
||||
/// </summary>
|
||||
public byte Reserved1;
|
||||
/// <summary>
|
||||
/// Byte 1, bits 7 to 4
|
||||
/// Type of information in Q subchannel of block where this TOC entry was found
|
||||
/// Byte 1, bits 7 to 4
|
||||
/// Type of information in Q subchannel of block where this TOC entry was found
|
||||
/// </summary>
|
||||
public byte ADR;
|
||||
/// <summary>
|
||||
/// Byte 1, bits 3 to 0
|
||||
/// Track attributes
|
||||
/// Byte 1, bits 3 to 0
|
||||
/// Track attributes
|
||||
/// </summary>
|
||||
public byte CONTROL;
|
||||
/// <summary>
|
||||
/// Byte 2
|
||||
/// Track number
|
||||
/// Byte 2
|
||||
/// Track number
|
||||
/// </summary>
|
||||
public byte TrackNumber;
|
||||
/// <summary>
|
||||
/// Byte 3
|
||||
/// Reserved
|
||||
/// Byte 3
|
||||
/// Reserved
|
||||
/// </summary>
|
||||
public byte Reserved2;
|
||||
/// <summary>
|
||||
/// Bytes 4 to 7
|
||||
/// The track start address in LBA or in MSF
|
||||
/// Bytes 4 to 7
|
||||
/// The track start address in LBA or in MSF
|
||||
/// </summary>
|
||||
public uint TrackStartAddress;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user