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/source_factory.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/source_factory.cc')
-rw-r--r-- | libs/ardour/source_factory.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/source_factory.cc b/libs/ardour/source_factory.cc index 834014bd1f..e211564408 100644 --- a/libs/ardour/source_factory.cc +++ b/libs/ardour/source_factory.cc @@ -134,7 +134,7 @@ SourceFactory::setup_peakfile (boost::shared_ptr<Source> s, bool async) } boost::shared_ptr<Source> -SourceFactory::createSilent (Session& s, const XMLNode& node, framecnt_t nframes, float sr) +SourceFactory::createSilent (Session& s, const XMLNode& node, samplecnt_t nframes, float sr) { Source* src = new SilentFileSource (s, node, nframes, sr); #ifdef BOOST_SP_ENABLE_DEBUG_HOOKS @@ -309,7 +309,7 @@ SourceFactory::createExternal (DataType type, Session& s, const string& path, boost::shared_ptr<Source> SourceFactory::createWritable (DataType type, Session& s, const std::string& path, - bool destructive, framecnt_t rate, bool announce, bool defer_peaks) + bool destructive, samplecnt_t rate, bool announce, bool defer_peaks) { /* this might throw failed_constructor(), which is OK */ @@ -395,7 +395,7 @@ SourceFactory::createForRecovery (DataType type, Session& s, const std::string& boost::shared_ptr<Source> SourceFactory::createFromPlaylist (DataType type, Session& s, boost::shared_ptr<Playlist> p, const PBD::ID& orig, const std::string& name, - uint32_t chn, frameoffset_t start, framecnt_t len, bool copy, bool defer_peaks) + uint32_t chn, sampleoffset_t start, samplecnt_t len, bool copy, bool defer_peaks) { if (type == DataType::AUDIO) { try { |