diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-11-13 05:14:48 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-11-13 05:14:48 +0000 |
commit | b85b4d9e54caef0585d308ef3bffee21d0e5ae56 (patch) | |
tree | a1ebeec149a57be4589ad6cabcd26c597703407c /libs/ardour/ardour/coreaudiosource.h | |
parent | 520bc1bed49720333eb1a2be3ea0f813ccaac182 (diff) |
make ardour3 build and link on OS X (tiger, at least)
git-svn-id: svn://localhost/ardour2/branches/3.0@8018 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/coreaudiosource.h')
-rw-r--r-- | libs/ardour/ardour/coreaudiosource.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libs/ardour/ardour/coreaudiosource.h b/libs/ardour/ardour/coreaudiosource.h index c83b63934f..be28662cb0 100644 --- a/libs/ardour/ardour/coreaudiosource.h +++ b/libs/ardour/ardour/coreaudiosource.h @@ -41,19 +41,20 @@ class CoreAudioSource : public AudioFileSource { int flush_header () {return 0;}; void set_header_timeline_position () {}; + bool clamped_at_unity () const { return false; } static int get_soundfile_info (string path, SoundFileInfo& _info, string& error_msg); protected: - nframes_t read_unlocked (Sample *dst, framepos_t start, nframes_t cnt) const; - nframes_t write_unlocked (Sample *dst, nframes_t cnt) { return 0; } - + framecnt_t read_unlocked (Sample *dst, framepos_t start, framecnt_t cnt) const; + framecnt_t write_unlocked (Sample *, framecnt_t) { return 0; } + private: mutable CAAudioFile af; uint16_t n_channels; void init_cafile (); - int safe_read (Sample*, nframes_t start, nframes_t cnt, AudioBufferList&) const; + int safe_read (Sample*, nframes_t start, framecnt_t cnt, AudioBufferList&) const; }; }; /* namespace ARDOUR */ |