Esempio n. 1
0
        public TocFullDataBlock(byte sessionNumber, byte CtrlAddr, byte trackNumber, byte point, TrackTime aTime, TrackTime startPosition)
        {
            SessionNumber = sessionNumber;
            TrackNumber   = trackNumber;
            Point         = point;
            ATime         = aTime;
            StartPosition = startPosition;

            Ctrl = (TrackCtrl)(CtrlAddr & 0x0F);
            Addr = (TrackAddr)((CtrlAddr >> 4) & 0x0F);
        }
Esempio n. 2
0
        public override string ToString()
        {
            TrackTime trackTime = TrackTime.FromFrames((int)StartAddr);

            return(String.Format("{0} {1} {2}", TrackNumber, IsAudio ? "Audio" : "Data", trackTime));
        }