2017-08-16 01:52:12 +00:00
|
|
|
//
|
|
|
|
// UnformattedTrack.cpp
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 15/08/2017.
|
2018-05-13 19:19:52 +00:00
|
|
|
// Copyright 2017 Thomas Harte. All rights reserved.
|
2017-08-16 01:52:12 +00:00
|
|
|
//
|
|
|
|
|
|
|
|
#include "UnformattedTrack.hpp"
|
|
|
|
|
|
|
|
using namespace Storage::Disk;
|
|
|
|
|
|
|
|
Track::Event UnformattedTrack::get_next_event() {
|
|
|
|
Track::Event event;
|
|
|
|
event.type = Event::IndexHole;
|
|
|
|
event.length = Time(1);
|
|
|
|
return event;
|
|
|
|
}
|
|
|
|
|
|
|
|
Storage::Time UnformattedTrack::seek_to(const Time &time_since_index_hole) {
|
|
|
|
return Time(0);
|
|
|
|
}
|
|
|
|
|
2018-05-19 03:03:28 +00:00
|
|
|
Track *UnformattedTrack::clone() const {
|
2017-08-16 01:52:12 +00:00
|
|
|
return new UnformattedTrack;
|
|
|
|
}
|