X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Fcaimportable.h;h=2e86ff2c90d1bacff12be624b0fd762ca558b607;hb=2a6dcddcc513fa3ebc1aad4b2e5fede62277aba5;hp=bb3e2ae191daccad5c066403e19b4e23d6c242be;hpb=e0aaed6d65f160c328cb8b56d7c6552ee15d65e2;p=ardour.git diff --git a/libs/ardour/ardour/caimportable.h b/libs/ardour/ardour/caimportable.h index bb3e2ae191..2e86ff2c90 100644 --- a/libs/ardour/ardour/caimportable.h +++ b/libs/ardour/ardour/caimportable.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2007 Paul Davis + Copyright (C) 2007 Paul Davis This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -35,9 +35,11 @@ class CAImportableSource : public ImportableSource { nframes_t read (Sample* buffer, nframes_t nframes); uint32_t channels() const; - nframes_t length() const; + framecnt_t length() const; nframes_t samplerate() const; void seek (nframes_t pos); + framepos_t natural_position() const { return 0; } + bool clamped_at_unity () const { return false; } protected: mutable CAAudioFile af;