diff options
author | David Robillard <d@drobilla.net> | 2006-08-21 19:12:26 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-08-21 19:12:26 +0000 |
commit | 48a4dc072c82dd382caa11405bf61a125d17eb16 (patch) | |
tree | 1b94f5a7fbd461d272f1b6c2142a1ddb2b0d746b /libs/ardour/source.cc | |
parent | 7250433f50236a05fc652fa41c23bf53fbf6a0fd (diff) |
Recording to SMF. Playback not quite working yet, just some buglets left to iron out.
git-svn-id: svn://localhost/ardour2/branches/midi@841 d708f5d6-7413-0410-9779-e7cbd77b26cf
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(); |