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/source.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/source.h')
-rw-r--r-- | libs/ardour/ardour/source.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libs/ardour/ardour/source.h b/libs/ardour/ardour/source.h index 275fe7c11a..b269f6976d 100644 --- a/libs/ardour/ardour/source.h +++ b/libs/ardour/ardour/source.h @@ -65,10 +65,10 @@ class LIBARDOUR_API Source : public SessionObject void stamp (time_t when) { _timestamp = when; } virtual bool empty () const = 0; - virtual framecnt_t length (framepos_t pos) const = 0; - virtual void update_length (framecnt_t cnt) = 0; + virtual samplecnt_t length (samplepos_t pos) const = 0; + virtual void update_length (samplecnt_t cnt) = 0; - virtual framepos_t natural_position() const { return 0; } + virtual samplepos_t natural_position() const { return 0; } void mark_for_remove(); @@ -98,8 +98,8 @@ class LIBARDOUR_API Source : public SessionObject std::string get_transients_path() const; int load_transients (const std::string&); - framepos_t timeline_position() const { return _timeline_position; } - virtual void set_timeline_position (framepos_t pos); + samplepos_t timeline_position() const { return _timeline_position; } + virtual void set_timeline_position (samplepos_t pos); void set_allow_remove_if_empty (bool yn); @@ -119,7 +119,7 @@ class LIBARDOUR_API Source : public SessionObject DataType _type; Flag _flags; time_t _timestamp; - framepos_t _timeline_position; + samplepos_t _timeline_position; bool _analysed; mutable Glib::Threads::Mutex _lock; mutable Glib::Threads::Mutex _analysis_lock; |