Amend 183d3fb49; implement ImportableSource API

This commit is contained in:
Robin Gareus
2019-08-04 14:43:46 +02:00
parent d9d96b181c
commit 4dc684275f
2 changed files with 2 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ class LIBARDOUR_API CAImportableSource : public ImportableSource {
samplecnt_t length() const;
samplecnt_t samplerate() const;
void seek (samplepos_t pos);
samplepos_t natural_position ();
samplepos_t natural_position () const;
bool clamped_at_unity () const { return false; }
protected:

View File

@@ -137,7 +137,7 @@ CAImportableSource::seek (samplepos_t pos)
samplepos_t
CAImportableSource::natural_position ()
CAImportableSource::natural_position () const
{
// TODO: extract timecode, if any
return 0;