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

@ -39,11 +39,12 @@ class LIBARDOUR_API CAImportableSource : public ImportableSource {
virtual ~CAImportableSource();
samplecnt_t read (Sample* buffer, samplecnt_t nframes);
uint32_t channels() const;
uint32_t channels() const;
samplecnt_t length() const;
samplecnt_t samplerate() const;
void seek (samplepos_t pos);
bool clamped_at_unity () const { return false; }
void seek (samplepos_t pos);
samplepos_t natural_position ();
bool clamped_at_unity () const { return false; }
protected:
#ifdef COREAUDIO105

View File

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