summaryrefslogtreecommitdiff
path: root/libs/ardour/source.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/source.cc')
-rw-r--r--libs/ardour/source.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/libs/ardour/source.cc b/libs/ardour/source.cc
index 5c2ac132e1..61ace5a72b 100644
--- a/libs/ardour/source.cc
+++ b/libs/ardour/source.cc
@@ -54,7 +54,6 @@ Source::Source (Session& s, DataType type, const string& name, Flag flags)
{
_analysed = false;
_timestamp = 0;
- _length = 0;
_in_use = 0;
}
@@ -65,7 +64,6 @@ Source::Source (Session& s, const XMLNode& node)
, _timeline_position(0)
{
_timestamp = 0;
- _length = 0;
_analysed = false;
_in_use = 0;
@@ -140,14 +138,6 @@ Source::set_state (const XMLNode& node)
}
void
-Source::update_length (sframes_t pos, sframes_t cnt)
-{
- if (pos + cnt > _length) {
- _length = pos + cnt;
- }
-}
-
-void
Source::add_playlist (boost::shared_ptr<Playlist> pl)
{
std::pair<PlaylistMap::iterator,bool> res;