summaryrefslogtreecommitdiff
path: root/libs/ardour/source.cc
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/source.cc
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/source.cc')
-rw-r--r--libs/ardour/source.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/source.cc b/libs/ardour/source.cc
index 187eee8085..6ae1aca1ca 100644
--- a/libs/ardour/source.cc
+++ b/libs/ardour/source.cc
@@ -200,8 +200,8 @@ Source::load_transients (const string& path)
break;
}
- framepos_t frame = (framepos_t) floor (val * _session.frame_rate());
- transients.push_back (frame);
+ samplepos_t sample = (samplepos_t) floor (val * _session.sample_rate());
+ transients.push_back (sample);
}
::fclose (tf);
@@ -265,7 +265,7 @@ Source::mark_for_remove ()
}
void
-Source::set_timeline_position (framepos_t pos)
+Source::set_timeline_position (samplepos_t pos)
{
_timeline_position = pos;
}