diff options
Diffstat (limited to 'libs/ardour/source.cc')
-rw-r--r-- | libs/ardour/source.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/source.cc b/libs/ardour/source.cc index bf07ede70b..0b15a8b5b8 100644 --- a/libs/ardour/source.cc +++ b/libs/ardour/source.cc @@ -53,6 +53,7 @@ Source::Source (string name, DataType type) _name = name; _use_cnt = 0; _timestamp = 0; + _length = 0; } Source::Source (const XMLNode& node) @@ -60,6 +61,7 @@ Source::Source (const XMLNode& node) { _use_cnt = 0; _timestamp = 0; + _length = 0; if (set_state (node) || _type == DataType::NIL) { throw failed_constructor(); |