diff options
author | Robin Gareus <robin@gareus.org> | 2019-08-04 14:43:46 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-08-04 14:43:46 +0200 |
commit | 4dc684275f7e63847beb525af5877cc52039cc1a (patch) | |
tree | 212867a79e845db5536f786efba0c6356014efdc | |
parent | d9d96b181cf8f6c72ec364b4f2dfc8782edb0fe3 (diff) |
Amend 183d3fb49; implement ImportableSource API
-rw-r--r-- | libs/ardour/ardour/caimportable.h | 2 | ||||
-rw-r--r-- | libs/ardour/caimportable.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/ardour/caimportable.h b/libs/ardour/ardour/caimportable.h index 446dd70b09..f39a84a38c 100644 --- a/libs/ardour/ardour/caimportable.h +++ b/libs/ardour/ardour/caimportable.h @@ -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: diff --git a/libs/ardour/caimportable.cc b/libs/ardour/caimportable.cc index 6553a398a9..f9137f4f38 100644 --- a/libs/ardour/caimportable.cc +++ b/libs/ardour/caimportable.cc @@ -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; |