2017-05-19 20:28:49 +01:00
|
|
|
// /***************************************************************************
|
2015-10-19 02:40:30 +01:00
|
|
|
// The Disc Image Chef
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
//
|
|
|
|
|
// Filename : Enums.cs
|
2016-07-28 18:13:49 +01:00
|
|
|
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
2015-10-19 02:40:30 +01:00
|
|
|
//
|
2016-07-28 18:13:49 +01:00
|
|
|
// Component : Device structures decoders.
|
2015-10-19 02:40:30 +01:00
|
|
|
//
|
|
|
|
|
// --[ Description ] ----------------------------------------------------------
|
|
|
|
|
//
|
2016-07-28 18:13:49 +01:00
|
|
|
// Contains various CD enumerations.
|
2015-10-19 02:40:30 +01:00
|
|
|
//
|
|
|
|
|
// --[ License ] --------------------------------------------------------------
|
|
|
|
|
//
|
2016-07-28 18:13:49 +01:00
|
|
|
// This library is free software; you can redistribute it and/or modify
|
|
|
|
|
// it under the terms of the GNU Lesser General Public License as
|
|
|
|
|
// published by the Free Software Foundation; either version 2.1 of the
|
2015-10-19 02:40:30 +01:00
|
|
|
// License, or (at your option) any later version.
|
|
|
|
|
//
|
2016-07-28 18:13:49 +01:00
|
|
|
// This library is distributed in the hope that it will be useful, but
|
|
|
|
|
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
|
// Lesser General Public License for more details.
|
2015-10-19 02:40:30 +01:00
|
|
|
//
|
2016-07-28 18:13:49 +01:00
|
|
|
// You should have received a copy of the GNU Lesser General Public
|
|
|
|
|
// License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
2015-10-19 02:40:30 +01:00
|
|
|
//
|
|
|
|
|
// ----------------------------------------------------------------------------
|
2018-12-29 17:34:38 +00:00
|
|
|
// Copyright © 2011-2019 Natalia Portillo
|
2015-10-19 02:40:30 +01:00
|
|
|
// ****************************************************************************/
|
2016-07-28 18:13:49 +01:00
|
|
|
|
2017-12-22 02:04:18 +00:00
|
|
|
using System.Diagnostics.CodeAnalysis;
|
|
|
|
|
|
2015-10-19 02:40:30 +01:00
|
|
|
namespace DiscImageChef.Decoders.CD
|
|
|
|
|
{
|
2017-12-22 02:04:18 +00:00
|
|
|
[SuppressMessage("ReSharper", "MemberCanBeInternal")]
|
|
|
|
|
public enum TocAdr : byte
|
2015-10-19 02:40:30 +01:00
|
|
|
{
|
2019-11-25 00:54:38 +00:00
|
|
|
/// <summary>Q Sub-channel mode information not supplied</summary>
|
|
|
|
|
NoInformation = 0x00, /// <summary>Q Sub-channel encodes current position data</summary>
|
|
|
|
|
CurrentPosition = 0x01, /// <summary>Q Sub-channel encodes the media catalog number</summary>
|
|
|
|
|
MediaCatalogNumber = 0x02, /// <summary>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)</summary>
|
|
|
|
|
TrackPointer = 0x01, /// <summary>Q Sub-channel encodes the start of a video track (if found in TOC) for CD-V</summary>
|
2017-12-21 02:52:12 +00:00
|
|
|
VideoTrackPointer = 0x04
|
2015-10-19 02:40:30 +01:00
|
|
|
}
|
|
|
|
|
|
2017-12-22 02:04:18 +00:00
|
|
|
public enum TocControl : byte
|
2015-10-19 02:40:30 +01:00
|
|
|
{
|
2019-11-25 00:54:38 +00:00
|
|
|
/// <summary>Stereo audio, no pre-emphasis</summary>
|
|
|
|
|
TwoChanNoPreEmph = 0x00, /// <summary>Stereo audio with pre-emphasis</summary>
|
|
|
|
|
TwoChanPreEmph = 0x01, /// <summary>If mask applied, track can be copied</summary>
|
|
|
|
|
CopyPermissionMask = 0x02, /// <summary>Data track, recorded uninterrumpted</summary>
|
|
|
|
|
DataTrack = 0x04, /// <summary>Data track, recorded incrementally</summary>
|
|
|
|
|
DataTrackIncremental = 0x05, /// <summary>Quadraphonic audio, no pre-emphasis</summary>
|
|
|
|
|
FourChanNoPreEmph = 0x08, /// <summary>Quadraphonic audio with pre-emphasis</summary>
|
|
|
|
|
FourChanPreEmph = 0x09, /// <summary>Reserved mask</summary>
|
2015-10-19 02:40:30 +01:00
|
|
|
ReservedMask = 0x0C
|
|
|
|
|
}
|
2017-12-19 20:33:03 +00:00
|
|
|
}
|