13
0

Implement missing required virtual fn -- fix Mac builds

This commit is contained in:
Robin Gareus 2019-08-04 01:37:36 +02:00
parent 365f6d6337
commit 183d3fb493
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 10 additions and 4 deletions

View File

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

View File

@ -136,4 +136,9 @@ CAImportableSource::seek (samplepos_t pos)
} }
samplepos_t
CAImportableSource::natural_position ()
{
// TODO: extract timecode, if any
return 0;
}