1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-06-14 10:23:38 +00:00
Files
CLK/Storage/Disk/Track/UnformattedTrack.cpp
2020-07-17 22:08:58 -04:00

27 lines
491 B
C++

//
// UnformattedTrack.cpp
// Clock Signal
//
// Created by Thomas Harte on 15/08/2017.
// Copyright 2017 Thomas Harte. All rights reserved.
//
#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;
}
float UnformattedTrack::seek_to(float) {
return 0.0f;
}
Track *UnformattedTrack::clone() const {
return new UnformattedTrack;
}