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/export_timespan.cc | |
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/export_timespan.cc')
-rw-r--r-- | libs/ardour/export_timespan.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libs/ardour/export_timespan.cc b/libs/ardour/export_timespan.cc index f8a06769e4..a3a7821cbe 100644 --- a/libs/ardour/export_timespan.cc +++ b/libs/ardour/export_timespan.cc @@ -23,12 +23,12 @@ namespace ARDOUR { -ExportTimespan::ExportTimespan (ExportStatusPtr status, framecnt_t frame_rate) : +ExportTimespan::ExportTimespan (ExportStatusPtr status, samplecnt_t sample_rate) : status (status), - start_frame (0), - end_frame (0), + start_sample (0), + end_sample (0), position (0), - frame_rate (frame_rate), + sample_rate (sample_rate), _realtime (false) { @@ -39,11 +39,11 @@ ExportTimespan::~ExportTimespan () } void -ExportTimespan::set_range (framepos_t start, framepos_t end) +ExportTimespan::set_range (samplepos_t start, samplepos_t end) { - start_frame = start; - position = start_frame; - end_frame = end; + start_sample = start; + position = start_sample; + end_sample = end; } } // namespace ARDOUR |