Implement missing required virtual fn -- fix Mac builds
This commit is contained in:
parent
365f6d6337
commit
183d3fb493
|
@ -39,11 +39,12 @@ class LIBARDOUR_API CAImportableSource : public ImportableSource {
|
||||||
virtual ~CAImportableSource();
|
virtual ~CAImportableSource();
|
||||||
|
|
||||||
samplecnt_t read (Sample* buffer, samplecnt_t nframes);
|
samplecnt_t read (Sample* buffer, samplecnt_t nframes);
|
||||||
uint32_t channels() const;
|
uint32_t channels() const;
|
||||||
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);
|
||||||
bool clamped_at_unity () const { return false; }
|
samplepos_t natural_position ();
|
||||||
|
bool clamped_at_unity () const { return false; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
#ifdef COREAUDIO105
|
#ifdef COREAUDIO105
|
||||||
|
|
|
@ -136,4 +136,9 @@ CAImportableSource::seek (samplepos_t pos)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
samplepos_t
|
||||||
|
CAImportableSource::natural_position ()
|
||||||
|
{
|
||||||
|
// TODO: extract timecode, if any
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user