mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Implement missing required virtual fn -- fix Mac builds
This commit is contained in:
parent
365f6d6337
commit
183d3fb493
2 changed files with 10 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -136,4 +136,9 @@ CAImportableSource::seek (samplepos_t pos)
|
|||
}
|
||||
|
||||
|
||||
|
||||
samplepos_t
|
||||
CAImportableSource::natural_position ()
|
||||
{
|
||||
// TODO: extract timecode, if any
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue