Skip to content
Snippets Groups Projects
Commit 6460d1f7 authored by Aaron Cuevas Lopez's avatar Aaron Cuevas Lopez
Browse files

Add functionality for a FileSource to block acquisition start if it's not ready

parent be70d18a
No related branches found
No related tags found
No related merge requests found
......@@ -80,7 +80,7 @@ bool FileReader::isReady() /* const */
}
else
{
return true;
return input->isReady();
}
}
......
......@@ -140,3 +140,8 @@ bool FileSource::OpenFile (File file)
return fileOpened;
}
bool FileSource::isReady() const
{
return true;
}
......@@ -67,6 +67,7 @@ public:
virtual void processChannelData (int16* inBuffer, float* outBuffer, int channel, int64 numSamples) = 0;
virtual void seekTo (int64 sample) = 0;
virtual bool isReady() const;
protected:
struct RecordInfo
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment