Amend 183d3fb49; implement ImportableSource API
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user