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
|
|
|
//
|
|
|
|
|
// ----------------------------------------------------------------------------
|
2017-12-19 03:50:57 +00:00
|
|
|
// Copyright © 2011-2018 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
|
|
|
{
|
|
|
|
|
/// <summary>
|
2017-12-23 18:31:38 +00:00
|
|
|
/// Q Sub-channel mode information not supplied
|
2015-10-19 02:40:30 +01:00
|
|
|
/// </summary>
|
|
|
|
|
NoInformation = 0x00,
|
|
|
|
|
/// <summary>
|
2017-12-23 18:31:38 +00:00
|
|
|
/// Q Sub-channel encodes current position data
|
2015-10-19 02:40:30 +01:00
|
|
|
/// </summary>
|
|
|
|
|
CurrentPosition = 0x01,
|
|
|
|
|
/// <summary>
|
2017-12-23 18:31:38 +00:00
|
|
|
/// Q Sub-channel encodes the media catalog number
|
2015-10-19 02:40:30 +01:00
|
|
|
/// </summary>
|
|
|
|
|
MediaCatalogNumber = 0x02,
|
|
|
|
|
/// <summary>
|
2017-12-23 18:31:38 +00:00
|
|
|
/// Q Sub-channel encodes the ISRC
|
2015-10-19 02:40:30 +01:00
|
|
|
/// </summary>
|
2015-12-03 09:31:06 +00:00
|
|
|
ISRC = 0x03,
|
|
|
|
|
/// <summary>
|
2017-12-23 18:31:38 +00:00
|
|
|
/// Q Sub-channel encodes the start of an audio/data track (if found in TOC)
|
2015-12-03 09:31:06 +00:00
|
|
|
/// </summary>
|
|
|
|
|
TrackPointer = 0x01,
|
|
|
|
|
/// <summary>
|
2017-12-23 18:31:38 +00:00
|
|
|
/// Q Sub-channel encodes the start of a video track (if found in TOC) for CD-V
|
2015-12-03 09:31:06 +00:00
|
|
|
/// </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
|
|
|
{
|
|
|
|
|
/// <summary>
|
2017-12-23 18:31:38 +00:00
|
|
|
/// Stereo audio, no pre-emphasis
|
2015-10-19 02:40:30 +01:00
|
|
|
/// </summary>
|
|
|
|
|
TwoChanNoPreEmph = 0x00,
|
|
|
|
|
/// <summary>
|
2017-12-23 18:31:38 +00:00
|
|
|
/// Stereo audio with pre-emphasis
|
2015-10-19 02:40:30 +01:00
|
|
|
/// </summary>
|
|
|
|
|
TwoChanPreEmph = 0x01,
|
|
|
|
|
/// <summary>
|
2017-12-23 18:31:38 +00:00
|
|
|
/// If mask applied, track can be copied
|
2015-10-19 02:40:30 +01:00
|
|
|
/// </summary>
|
|
|
|
|
CopyPermissionMask = 0x02,
|
|
|
|
|
/// <summary>
|
2017-12-23 18:31:38 +00:00
|
|
|
/// Data track, recorded uninterrumpted
|
2015-10-19 02:40:30 +01:00
|
|
|
/// </summary>
|
|
|
|
|
DataTrack = 0x04,
|
|
|
|
|
/// <summary>
|
2017-12-23 18:31:38 +00:00
|
|
|
/// Data track, recorded incrementally
|
2015-10-19 02:40:30 +01:00
|
|
|
/// </summary>
|
|
|
|
|
DataTrackIncremental = 0x05,
|
|
|
|
|
/// <summary>
|
2017-12-23 18:31:38 +00:00
|
|
|
/// Quadraphonic audio, no pre-emphasis
|
2015-10-19 02:40:30 +01:00
|
|
|
/// </summary>
|
|
|
|
|
FourChanNoPreEmph = 0x08,
|
|
|
|
|
/// <summary>
|
2017-12-23 18:31:38 +00:00
|
|
|
/// Quadraphonic audio with pre-emphasis
|
2015-10-19 02:40:30 +01:00
|
|
|
/// </summary>
|
|
|
|
|
FourChanPreEmph = 0x09,
|
|
|
|
|
/// <summary>
|
2017-12-23 18:31:38 +00:00
|
|
|
/// Reserved mask
|
2015-10-19 02:40:30 +01:00
|
|
|
/// </summary>
|
|
|
|
|
ReservedMask = 0x0C
|
|
|
|
|
}
|
2017-12-19 20:33:03 +00:00
|
|
|
}
|