diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2017-09-18 12:39:17 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-09-18 12:39:17 -0400 |
commit | 30b087ab3d28f1585987fa3f6ae006562ae192e3 (patch) | |
tree | 620ae0250b5d77f90a18f8c2b83be61e4fe7b0b5 /libs/ardour/ardour/sndfileimportable.h | |
parent | cb956e3e480716a3efd280a5287bdd7bee1cedc5 (diff) |
globally change all use of "frame" to refer to audio into "sample".
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode
and video in order to keep the legible
Diffstat (limited to 'libs/ardour/ardour/sndfileimportable.h')
-rw-r--r-- | libs/ardour/ardour/sndfileimportable.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libs/ardour/ardour/sndfileimportable.h b/libs/ardour/ardour/sndfileimportable.h index 10c429c545..28e1ccf3cf 100644 --- a/libs/ardour/ardour/sndfileimportable.h +++ b/libs/ardour/ardour/sndfileimportable.h @@ -33,12 +33,12 @@ class LIBARDOUR_API SndFileImportableSource : public ImportableSource { SndFileImportableSource (const std::string& path); virtual ~SndFileImportableSource(); - framecnt_t read (Sample* buffer, framecnt_t nframes); + samplecnt_t read (Sample* buffer, samplecnt_t nframes); uint32_t channels() const; - framecnt_t length() const; - framecnt_t samplerate() const; - void seek (framepos_t pos); - framepos_t natural_position() const; + samplecnt_t length() const; + samplecnt_t samplerate() const; + void seek (samplepos_t pos); + samplepos_t natural_position() const; bool clamped_at_unity () const; protected: @@ -46,7 +46,7 @@ class LIBARDOUR_API SndFileImportableSource : public ImportableSource { boost::shared_ptr<SNDFILE> in; /* these are int64_t so as to be independent of whatever - types Ardour may use for framepos_t, framecnt_t etc. + types Ardour may use for samplepos_t, samplecnt_t etc. */ int64_t timecode; |