summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/export_format_specification.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2017-09-18 12:39:17 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2017-09-18 12:39:17 -0400
commit30b087ab3d28f1585987fa3f6ae006562ae192e3 (patch)
tree620ae0250b5d77f90a18f8c2b83be61e4fe7b0b5 /libs/ardour/ardour/export_format_specification.h
parentcb956e3e480716a3efd280a5287bdd7bee1cedc5 (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/export_format_specification.h')
-rw-r--r--libs/ardour/ardour/export_format_specification.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/ardour/ardour/export_format_specification.h b/libs/ardour/ardour/export_format_specification.h
index d473d20234..4fdb16961a 100644
--- a/libs/ardour/ardour/export_format_specification.h
+++ b/libs/ardour/ardour/export_format_specification.h
@@ -48,7 +48,7 @@ class LIBARDOUR_API ExportFormatSpecification : public ExportFormatBase {
Time (Session & session) : AnyTime (), session (session) {}
Time & operator= (AnyTime const & other);
- framecnt_t get_frames_at (framepos_t position, framecnt_t target_rate) const;
+ samplecnt_t get_samples_at (samplepos_t position, samplecnt_t target_rate) const;
/* Serialization */
@@ -174,10 +174,10 @@ class LIBARDOUR_API ExportFormatSpecification : public ExportFormatBase {
bool tag () const { return _tag && supports_tagging; }
- framecnt_t silence_beginning_at (framepos_t position, framecnt_t samplerate) const
- { return _silence_beginning.get_frames_at (position, samplerate); }
- framecnt_t silence_end_at (framepos_t position, framecnt_t samplerate) const
- { return _silence_end.get_frames_at (position, samplerate); }
+ samplecnt_t silence_beginning_at (samplepos_t position, samplecnt_t samplerate) const
+ { return _silence_beginning.get_samples_at (position, samplerate); }
+ samplecnt_t silence_end_at (samplepos_t position, samplecnt_t samplerate) const
+ { return _silence_end.get_samples_at (position, samplerate); }
AnyTime silence_beginning_time () const { return _silence_beginning; }
AnyTime silence_end_time () const { return _silence_end; }