// /*************************************************************************** // Aaru Data Preservation Suite // ---------------------------------------------------------------------------- // // Filename : Enums.cs // Author(s) : Natalia Portillo // // Component : Device structures decoders. // // --[ Description ] ---------------------------------------------------------- // // Contains various CD enumerations. // // --[ License ] -------------------------------------------------------------- // // 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 // License, or (at your option) any later version. // // 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. // // You should have received a copy of the GNU Lesser General Public // License along with this library; if not, see . // // ---------------------------------------------------------------------------- // Copyright © 2011-2025 Natalia Portillo // ****************************************************************************/ using System.Diagnostics.CodeAnalysis; namespace Aaru.Decoders.CD; [SuppressMessage("ReSharper", "MemberCanBeInternal")] public enum TocAdr : byte { /// Q Sub-channel mode information not supplied NoInformation = 0x00, /// Q Sub-channel encodes current position data CurrentPosition = 0x01, /// Q Sub-channel encodes the media catalog number MediaCatalogNumber = 0x02, /// Q Sub-channel encodes the ISRC ISRC = 0x03, /// Q Sub-channel encodes the start of an audio/data track (if found in TOC) TrackPointer = 0x01, /// Q Sub-channel encodes the start of a video track (if found in TOC) for CD-V VideoTrackPointer = 0x04 } public enum TocControl : byte { /// Stereo audio, no pre-emphasis TwoChanNoPreEmph = 0x00, /// Stereo audio with pre-emphasis TwoChanPreEmph = 0x01, /// If mask applied, track can be copied CopyPermissionMask = 0x02, /// Data track, recorded uninterrumpted DataTrack = 0x04, /// Data track, recorded incrementally DataTrackIncremental = 0x05, /// Quadraphonic audio, no pre-emphasis FourChanNoPreEmph = 0x08, /// Quadraphonic audio with pre-emphasis FourChanPreEmph = 0x09, /// Reserved mask ReservedMask = 0x0C }