mirror of
https://github.com/aaru-dps/Aaru.CommonTypes.git
synced 2025-12-16 19:24:30 +00:00
General code cleanup and style refactor.
This commit is contained in:
319
MediaType.cs
319
MediaType.cs
@@ -39,6 +39,8 @@
|
||||
// ReSharper disable InconsistentNaming
|
||||
// TODO: Rename contents
|
||||
|
||||
using System;
|
||||
|
||||
#pragma warning disable 1591
|
||||
|
||||
// ReSharper disable UnusedMember.Global
|
||||
@@ -46,16 +48,10 @@
|
||||
|
||||
namespace Aaru.CommonTypes;
|
||||
|
||||
using System;
|
||||
|
||||
public enum MediaEncoding
|
||||
{
|
||||
Unknown,
|
||||
FM,
|
||||
MFM,
|
||||
M2FM,
|
||||
AppleGCR,
|
||||
CommodoreGCR
|
||||
Unknown, FM, MFM,
|
||||
M2FM, AppleGCR, CommodoreGCR
|
||||
}
|
||||
|
||||
/// <summary>Contains an enumeration of all known types of media.</summary>
|
||||
@@ -214,9 +210,7 @@ public enum MediaType : uint
|
||||
/// <summary>Pioneer LaserDisc</summary>
|
||||
LD = 80,
|
||||
/// <summary>Pioneer LaserDisc data</summary>
|
||||
LDROM = 81, LDROM2 = 82,
|
||||
LVROM = 83,
|
||||
MegaLD = 84,
|
||||
LDROM = 81, LDROM2 = 82, LVROM = 83, MegaLD = 84,
|
||||
/// <summary>Writable LaserDisc with support for component video</summary>
|
||||
CRVdisc = 85,
|
||||
#endregion LaserDisc based, types 80 to 89
|
||||
@@ -248,8 +242,7 @@ public enum MediaType : uint
|
||||
#endregion Plasmon UDO, types 100 to 109
|
||||
|
||||
#region Sony game media, types 110 to 129
|
||||
PlayStationMemoryCard = 110,
|
||||
PlayStationMemoryCard2 = 111,
|
||||
PlayStationMemoryCard = 110, PlayStationMemoryCard2 = 111,
|
||||
/// <summary>Sony PlayStation game CD</summary>
|
||||
PS1CD = 112,
|
||||
/// <summary>Sony PlayStation 2 game CD</summary>
|
||||
@@ -287,14 +280,9 @@ public enum MediaType : uint
|
||||
/// <summary>Sega/Yamaha Gigabyte Disc</summary>
|
||||
GDROM = 152,
|
||||
/// <summary>Sega/Yamaha recordable Gigabyte Disc</summary>
|
||||
GDR = 153, SegaCard = 154,
|
||||
MilCD = 155,
|
||||
MegaDriveCartridge = 156,
|
||||
_32XCartridge = 157,
|
||||
SegaPicoCartridge = 158,
|
||||
MasterSystemCartridge = 159,
|
||||
GameGearCartridge = 160,
|
||||
SegaSaturnCartridge = 161,
|
||||
GDR = 153, SegaCard = 154, MilCD = 155, MegaDriveCartridge = 156,
|
||||
_32XCartridge = 157, SegaPicoCartridge = 158, MasterSystemCartridge = 159,
|
||||
GameGearCartridge = 160, SegaSaturnCartridge = 161,
|
||||
#endregion Sega game media, types 150 to 169
|
||||
|
||||
#region Other game media, types 170 to 179
|
||||
@@ -567,25 +555,15 @@ public enum MediaType : uint
|
||||
#endregion Apricot ACT standard floppy formats, type 309
|
||||
|
||||
#region OnStream ADR, types 310 to 319
|
||||
ADR2120 = 310,
|
||||
ADR260 = 311,
|
||||
ADR30 = 312,
|
||||
ADR2120 = 310, ADR260 = 311, ADR30 = 312,
|
||||
ADR50 = 313,
|
||||
#endregion OnStream ADR, types 310 to 319
|
||||
|
||||
#region Advanced Intelligent Tape, types 320 to 339
|
||||
AIT1 = 320,
|
||||
AIT1Turbo = 321,
|
||||
AIT2 = 322,
|
||||
AIT2Turbo = 323,
|
||||
AIT3 = 324,
|
||||
AIT3Ex = 325,
|
||||
AIT3Turbo = 326,
|
||||
AIT4 = 327,
|
||||
AIT5 = 328,
|
||||
AITETurbo = 329,
|
||||
SAIT1 = 330,
|
||||
SAIT2 = 331,
|
||||
AIT1 = 320, AIT1Turbo = 321, AIT2 = 322,
|
||||
AIT2Turbo = 323, AIT3 = 324, AIT3Ex = 325,
|
||||
AIT3Turbo = 326, AIT4 = 327, AIT5 = 328,
|
||||
AITETurbo = 329, SAIT1 = 330, SAIT2 = 331,
|
||||
#endregion Advanced Intelligent Tape, types 320 to 339
|
||||
|
||||
#region Iomega, types 340 to 359
|
||||
@@ -594,17 +572,10 @@ public enum MediaType : uint
|
||||
Bernoulli = 340,
|
||||
/// <summary>Obsolete type for 5⅓" Bernoulli Box II disks</summary>
|
||||
[Obsolete]
|
||||
Bernoulli2 = 341, Ditto = 342,
|
||||
DittoMax = 343,
|
||||
Jaz = 344,
|
||||
Jaz2 = 345,
|
||||
PocketZip = 346,
|
||||
REV120 = 347,
|
||||
REV35 = 348,
|
||||
REV70 = 349,
|
||||
ZIP100 = 350,
|
||||
ZIP250 = 351,
|
||||
ZIP750 = 352,
|
||||
Bernoulli2 = 341, Ditto = 342, DittoMax = 343, Jaz = 344,
|
||||
Jaz2 = 345, PocketZip = 346, REV120 = 347,
|
||||
REV35 = 348, REV70 = 349, ZIP100 = 350,
|
||||
ZIP250 = 351, ZIP750 = 352,
|
||||
/// <summary>5⅓" Bernoulli Box II disk with 35Mb capacity</summary>
|
||||
Bernoulli35 = 353,
|
||||
/// <summary>5⅓" Bernoulli Box II disk with 44Mb capacity</summary>
|
||||
@@ -622,9 +593,7 @@ public enum MediaType : uint
|
||||
#endregion Iomega, types 340 to 359
|
||||
|
||||
#region Audio or video media, types 360 to 369
|
||||
CompactCassette = 360,
|
||||
Data8 = 361,
|
||||
MiniDV = 362,
|
||||
CompactCassette = 360, Data8 = 361, MiniDV = 362,
|
||||
/// <summary>D/CAS-25: Digital data on Compact Cassette form factor, special magnetic media, 9-track</summary>
|
||||
Dcas25 = 363,
|
||||
/// <summary>D/CAS-85: Digital data on Compact Cassette form factor, special magnetic media, 17-track</summary>
|
||||
@@ -634,62 +603,34 @@ public enum MediaType : uint
|
||||
#endregion Audio media, types 360 to 369
|
||||
|
||||
#region CompactFlash Association, types 370 to 379
|
||||
CFast = 370,
|
||||
CompactFlash = 371,
|
||||
CompactFlashType2 = 372,
|
||||
CFast = 370, CompactFlash = 371, CompactFlashType2 = 372,
|
||||
#endregion CompactFlash Association, types 370 to 379
|
||||
|
||||
#region Digital Audio Tape / Digital Data Storage, types 380 to 389
|
||||
DigitalAudioTape = 380,
|
||||
DAT160 = 381,
|
||||
DAT320 = 382,
|
||||
DAT72 = 383,
|
||||
DDS1 = 384,
|
||||
DDS2 = 385,
|
||||
DDS3 = 386,
|
||||
DDS4 = 387,
|
||||
DigitalAudioTape = 380, DAT160 = 381, DAT320 = 382,
|
||||
DAT72 = 383, DDS1 = 384, DDS2 = 385,
|
||||
DDS3 = 386, DDS4 = 387,
|
||||
#endregion Digital Audio Tape / Digital Data Storage, types 380 to 389
|
||||
|
||||
#region DEC, types 390 to 399
|
||||
CompactTapeI = 390,
|
||||
CompactTapeII = 391,
|
||||
DECtapeII = 392,
|
||||
DLTtapeIII = 393,
|
||||
DLTtapeIIIxt = 394,
|
||||
DLTtapeIV = 395,
|
||||
DLTtapeS4 = 396,
|
||||
SDLT1 = 397,
|
||||
SDLT2 = 398,
|
||||
VStapeI = 399,
|
||||
CompactTapeI = 390, CompactTapeII = 391, DECtapeII = 392,
|
||||
DLTtapeIII = 393, DLTtapeIIIxt = 394, DLTtapeIV = 395,
|
||||
DLTtapeS4 = 396, SDLT1 = 397, SDLT2 = 398,
|
||||
VStapeI = 399,
|
||||
#endregion DEC, types 390 to 399
|
||||
|
||||
#region Exatape, types 400 to 419
|
||||
Exatape15m = 400,
|
||||
Exatape22m = 401,
|
||||
Exatape22mAME = 402,
|
||||
Exatape28m = 403,
|
||||
Exatape40m = 404,
|
||||
Exatape45m = 405,
|
||||
Exatape54m = 406,
|
||||
Exatape75m = 407,
|
||||
Exatape76m = 408,
|
||||
Exatape80m = 409,
|
||||
Exatape106m = 410,
|
||||
Exatape160mXL = 411,
|
||||
Exatape112m = 412,
|
||||
Exatape125m = 413,
|
||||
Exatape150m = 414,
|
||||
Exatape170m = 415,
|
||||
Exatape225m = 416,
|
||||
Exatape15m = 400, Exatape22m = 401, Exatape22mAME = 402,
|
||||
Exatape28m = 403, Exatape40m = 404, Exatape45m = 405,
|
||||
Exatape54m = 406, Exatape75m = 407, Exatape76m = 408,
|
||||
Exatape80m = 409, Exatape106m = 410, Exatape160mXL = 411,
|
||||
Exatape112m = 412, Exatape125m = 413, Exatape150m = 414,
|
||||
Exatape170m = 415, Exatape225m = 416,
|
||||
#endregion Exatape, types 400 to 419
|
||||
|
||||
#region PCMCIA / ExpressCard, types 420 to 429
|
||||
ExpressCard34 = 420,
|
||||
ExpressCard54 = 421,
|
||||
PCCardTypeI = 422,
|
||||
PCCardTypeII = 423,
|
||||
PCCardTypeIII = 424,
|
||||
PCCardTypeIV = 425,
|
||||
ExpressCard34 = 420, ExpressCard54 = 421, PCCardTypeI = 422,
|
||||
PCCardTypeII = 423, PCCardTypeIII = 424, PCCardTypeIV = 425,
|
||||
#endregion PCMCIA / ExpressCard, types 420 to 429
|
||||
|
||||
#region SyQuest, types 430 to 449
|
||||
@@ -725,19 +666,11 @@ public enum MediaType : uint
|
||||
#endregion SyQuest, types 430 to 449
|
||||
|
||||
#region Nintendo, types 450 to 469
|
||||
FamicomGamePak = 450,
|
||||
GameBoyAdvanceGamePak = 451,
|
||||
GameBoyGamePak = 452,
|
||||
FamicomGamePak = 450, GameBoyAdvanceGamePak = 451, GameBoyGamePak = 452,
|
||||
/// <summary>Nintendo GameCube Optical Disc</summary>
|
||||
GOD = 453, N64DD = 454,
|
||||
N64GamePak = 455,
|
||||
NESGamePak = 456,
|
||||
Nintendo3DSGameCard = 457,
|
||||
NintendoDiskCard = 458,
|
||||
NintendoDSGameCard = 459,
|
||||
NintendoDSiGameCard = 460,
|
||||
SNESGamePak = 461,
|
||||
SNESGamePakUS = 462,
|
||||
GOD = 453, N64DD = 454, N64GamePak = 455, NESGamePak = 456,
|
||||
Nintendo3DSGameCard = 457, NintendoDiskCard = 458, NintendoDSGameCard = 459,
|
||||
NintendoDSiGameCard = 460, SNESGamePak = 461, SNESGamePakUS = 462,
|
||||
/// <summary>Nintendo Wii Optical Disc</summary>
|
||||
WOD = 463,
|
||||
/// <summary>Nintendo Wii U Optical Disc</summary>
|
||||
@@ -745,121 +678,66 @@ public enum MediaType : uint
|
||||
#endregion Nintendo, types 450 to 469
|
||||
|
||||
#region IBM Tapes, types 470 to 479
|
||||
IBM3470 = 470,
|
||||
IBM3480 = 471,
|
||||
IBM3490 = 472,
|
||||
IBM3490E = 473,
|
||||
IBM3592 = 474,
|
||||
IBM3470 = 470, IBM3480 = 471, IBM3490 = 472,
|
||||
IBM3490E = 473, IBM3592 = 474,
|
||||
#endregion IBM Tapes, types 470 to 479
|
||||
|
||||
#region LTO Ultrium, types 480 to 509
|
||||
LTO = 480,
|
||||
LTO2 = 481,
|
||||
LTO3 = 482,
|
||||
LTO3WORM = 483,
|
||||
LTO4 = 484,
|
||||
LTO4WORM = 485,
|
||||
LTO5 = 486,
|
||||
LTO5WORM = 487,
|
||||
LTO6 = 488,
|
||||
LTO6WORM = 489,
|
||||
LTO7 = 490,
|
||||
LTO7WORM = 491,
|
||||
LTO = 480, LTO2 = 481, LTO3 = 482,
|
||||
LTO3WORM = 483, LTO4 = 484, LTO4WORM = 485,
|
||||
LTO5 = 486, LTO5WORM = 487, LTO6 = 488,
|
||||
LTO6WORM = 489, LTO7 = 490, LTO7WORM = 491,
|
||||
#endregion LTO Ultrium, types 480 to 509
|
||||
|
||||
#region MemoryStick, types 510 to 519
|
||||
MemoryStick = 510,
|
||||
MemoryStickDuo = 511,
|
||||
MemoryStickMicro = 512,
|
||||
MemoryStickPro = 513,
|
||||
MemoryStickProDuo = 514,
|
||||
MemoryStick = 510, MemoryStickDuo = 511, MemoryStickMicro = 512,
|
||||
MemoryStickPro = 513, MemoryStickProDuo = 514,
|
||||
#endregion MemoryStick, types 510 to 519
|
||||
|
||||
#region SecureDigital, types 520 to 529
|
||||
microSD = 520,
|
||||
miniSD = 521,
|
||||
SecureDigital = 522,
|
||||
microSD = 520, miniSD = 521, SecureDigital = 522,
|
||||
#endregion SecureDigital, types 520 to 529
|
||||
|
||||
#region MultiMediaCard, types 530 to 539
|
||||
MMC = 530,
|
||||
MMCmicro = 531,
|
||||
RSMMC = 532,
|
||||
MMCplus = 533,
|
||||
MMCmobile = 534,
|
||||
MMC = 530, MMCmicro = 531, RSMMC = 532,
|
||||
MMCplus = 533, MMCmobile = 534,
|
||||
#endregion MultiMediaCard, types 530 to 539
|
||||
|
||||
#region SLR, types 540 to 569
|
||||
MLR1 = 540,
|
||||
MLR1SL = 541,
|
||||
MLR3 = 542,
|
||||
SLR1 = 543,
|
||||
SLR2 = 544,
|
||||
SLR3 = 545,
|
||||
SLR32 = 546,
|
||||
SLR32SL = 547,
|
||||
SLR4 = 548,
|
||||
SLR5 = 549,
|
||||
SLR5SL = 550,
|
||||
SLR6 = 551,
|
||||
SLRtape7 = 552,
|
||||
SLRtape7SL = 553,
|
||||
SLRtape24 = 554,
|
||||
SLRtape24SL = 555,
|
||||
SLRtape40 = 556,
|
||||
SLRtape50 = 557,
|
||||
SLRtape60 = 558,
|
||||
SLRtape75 = 559,
|
||||
SLRtape100 = 560,
|
||||
MLR1 = 540, MLR1SL = 541, MLR3 = 542,
|
||||
SLR1 = 543, SLR2 = 544, SLR3 = 545,
|
||||
SLR32 = 546, SLR32SL = 547, SLR4 = 548,
|
||||
SLR5 = 549, SLR5SL = 550, SLR6 = 551,
|
||||
SLRtape7 = 552, SLRtape7SL = 553, SLRtape24 = 554,
|
||||
SLRtape24SL = 555, SLRtape40 = 556, SLRtape50 = 557,
|
||||
SLRtape60 = 558, SLRtape75 = 559, SLRtape100 = 560,
|
||||
SLRtape140 = 561,
|
||||
#endregion SLR, types 540 to 569
|
||||
|
||||
#region QIC, types 570 to 589
|
||||
QIC11 = 570,
|
||||
QIC120 = 571,
|
||||
QIC1350 = 572,
|
||||
QIC150 = 573,
|
||||
QIC24 = 574,
|
||||
QIC3010 = 575,
|
||||
QIC3020 = 576,
|
||||
QIC3080 = 577,
|
||||
QIC3095 = 578,
|
||||
QIC320 = 579,
|
||||
QIC40 = 580,
|
||||
QIC525 = 581,
|
||||
QIC11 = 570, QIC120 = 571, QIC1350 = 572,
|
||||
QIC150 = 573, QIC24 = 574, QIC3010 = 575,
|
||||
QIC3020 = 576, QIC3080 = 577, QIC3095 = 578,
|
||||
QIC320 = 579, QIC40 = 580, QIC525 = 581,
|
||||
QIC80 = 582,
|
||||
#endregion QIC, types 570 to 589
|
||||
|
||||
#region StorageTek tapes, types 590 to 609
|
||||
STK4480 = 590,
|
||||
STK4490 = 591,
|
||||
STK9490 = 592,
|
||||
T9840A = 593,
|
||||
T9840B = 594,
|
||||
T9840C = 595,
|
||||
T9840D = 596,
|
||||
T9940A = 597,
|
||||
T9940B = 598,
|
||||
T10000A = 599,
|
||||
T10000B = 600,
|
||||
T10000C = 601,
|
||||
STK4480 = 590, STK4490 = 591, STK9490 = 592,
|
||||
T9840A = 593, T9840B = 594, T9840C = 595,
|
||||
T9840D = 596, T9940A = 597, T9940B = 598,
|
||||
T10000A = 599, T10000B = 600, T10000C = 601,
|
||||
T10000D = 602,
|
||||
#endregion StorageTek tapes, types 590 to 609
|
||||
|
||||
#region Travan, types 610 to 619
|
||||
Travan = 610,
|
||||
Travan1Ex = 611,
|
||||
Travan3 = 612,
|
||||
Travan3Ex = 613,
|
||||
Travan4 = 614,
|
||||
Travan5 = 615,
|
||||
Travan = 610, Travan1Ex = 611, Travan3 = 612,
|
||||
Travan3Ex = 613, Travan4 = 614, Travan5 = 615,
|
||||
Travan7 = 616,
|
||||
#endregion Travan, types 610 to 619
|
||||
|
||||
#region VXA, types 620 to 629
|
||||
VXA1 = 620,
|
||||
VXA2 = 621,
|
||||
VXA3 = 622,
|
||||
VXA1 = 620, VXA2 = 621, VXA3 = 622,
|
||||
#endregion VXA, types 620 to 629
|
||||
|
||||
#region Magneto-optical, types 630 to 659
|
||||
@@ -926,47 +804,27 @@ public enum MediaType : uint
|
||||
#endregion Magneto-optical, types 630 to 659
|
||||
|
||||
#region Other floppy standards, types 660 to 689
|
||||
CompactFloppy = 660,
|
||||
DemiDiskette = 661,
|
||||
CompactFloppy = 660, DemiDiskette = 661,
|
||||
/// <summary>3.5", 652 tracks, 2 sides, 512 bytes/sector, Floptical, ECMA-207, ISO 14169</summary>
|
||||
Floptical = 662, HiFD = 663,
|
||||
QuickDisk = 664,
|
||||
UHD144 = 665,
|
||||
VideoFloppy = 666,
|
||||
Wafer = 667,
|
||||
ZXMicrodrive = 668,
|
||||
Floptical = 662, HiFD = 663, QuickDisk = 664, UHD144 = 665,
|
||||
VideoFloppy = 666, Wafer = 667, ZXMicrodrive = 668,
|
||||
/// <summary>5.25", SS, DD, 77 tracks, 16 spt, 256 bytes/sector, MFM, 100 tpi, 300rpm</summary>
|
||||
MetaFloppy_Mod_II = 669,
|
||||
#endregion Other floppy standards, types 660 to 669
|
||||
|
||||
#region Miscellaneous, types 670 to 689
|
||||
BeeCard = 670,
|
||||
Borsu = 671,
|
||||
DataStore = 672,
|
||||
DIR = 673,
|
||||
DST = 674,
|
||||
DTF = 675,
|
||||
DTF2 = 676,
|
||||
Flextra3020 = 677,
|
||||
Flextra3225 = 678,
|
||||
HiTC1 = 679,
|
||||
HiTC2 = 680,
|
||||
LT1 = 681,
|
||||
MiniCard = 872,
|
||||
Orb = 683,
|
||||
Orb5 = 684,
|
||||
SmartMedia = 685,
|
||||
xD = 686,
|
||||
XQD = 687,
|
||||
DataPlay = 688,
|
||||
BeeCard = 670, Borsu = 671, DataStore = 672,
|
||||
DIR = 673, DST = 674, DTF = 675,
|
||||
DTF2 = 676, Flextra3020 = 677, Flextra3225 = 678,
|
||||
HiTC1 = 679, HiTC2 = 680, LT1 = 681,
|
||||
MiniCard = 872, Orb = 683, Orb5 = 684,
|
||||
SmartMedia = 685, xD = 686, XQD = 687,
|
||||
DataPlay = 688,
|
||||
#endregion Miscellaneous, types 670 to 689
|
||||
|
||||
#region Apple specific media, types 690 to 699
|
||||
AppleProfile = 690,
|
||||
AppleWidget = 691,
|
||||
AppleHD20 = 692,
|
||||
PriamDataTower = 693,
|
||||
Pippin = 694,
|
||||
AppleProfile = 690, AppleWidget = 691, AppleHD20 = 692,
|
||||
PriamDataTower = 693, Pippin = 694,
|
||||
#endregion Apple specific media, types 690 to 699
|
||||
|
||||
#region DEC hard disks, types 700 to 729
|
||||
@@ -1108,18 +966,14 @@ public enum MediaType : uint
|
||||
#endregion DEC hard disks, types 700 to 729
|
||||
|
||||
#region Imation, types 730 to 739
|
||||
LS120 = 730,
|
||||
LS240 = 731,
|
||||
FD32MB = 732,
|
||||
RDX = 733,
|
||||
LS120 = 730, LS240 = 731, FD32MB = 732,
|
||||
RDX = 733,
|
||||
/// <summary>Imation 320Gb RDX</summary>
|
||||
RDX320 = 734,
|
||||
#endregion Imation, types 730 to 739
|
||||
|
||||
#region VideoNow, types 740 to 749
|
||||
VideoNow = 740,
|
||||
VideoNowColor = 741,
|
||||
VideoNowXp = 742,
|
||||
VideoNow = 740, VideoNowColor = 741, VideoNowXp = 742,
|
||||
#endregion
|
||||
|
||||
#region Iomega, types 750 to 759
|
||||
@@ -1132,9 +986,7 @@ public enum MediaType : uint
|
||||
#endregion Iomega, types 750 to 759
|
||||
|
||||
#region Kodak, types 760 to 769
|
||||
KodakVerbatim3 = 760,
|
||||
KodakVerbatim6 = 761,
|
||||
KodakVerbatim12 = 762,
|
||||
KodakVerbatim3 = 760, KodakVerbatim6 = 761, KodakVerbatim12 = 762,
|
||||
#endregion Kodak, types 760 to 769
|
||||
|
||||
#region Sony and Panasonic Blu-ray derived, types 770 to 799
|
||||
@@ -1192,6 +1044,5 @@ public enum MediaType : uint
|
||||
MetaFloppy_Mod_I = 820,
|
||||
#endregion
|
||||
|
||||
AtariLynxCard = 821,
|
||||
AtariJaguarCartridge = 822
|
||||
AtariLynxCard = 821, AtariJaguarCartridge = 822
|
||||
}
|
||||
Reference in New Issue
Block a user