summaryrefslogtreecommitdiff
path: root/libs/ardour/source.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-06-23 20:13:13 +0000
committerDavid Robillard <d@drobilla.net>2007-06-23 20:13:13 +0000
commit49ee64ada7f7661067a1dde8c02d40a8e2f6ca66 (patch)
treeb1c4472355e6e3c65ca907c5c3e13959fb2e46cf /libs/ardour/source.cc
parent05184ed52ffcdcad3c071d4c99287f832f42b74b (diff)
Insert/Redirect refactoring, towards better MIDI support in mixer strip, and
http://ardour.org/node/1043 style things. git-svn-id: svn://localhost/ardour2/trunk@2027 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/source.cc')
-rw-r--r--libs/ardour/source.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/ardour/source.cc b/libs/ardour/source.cc
index a7620dbc5a..a11e82f1e8 100644
--- a/libs/ardour/source.cc
+++ b/libs/ardour/source.cc
@@ -42,20 +42,20 @@ using std::max;
using namespace ARDOUR;
-Source::Source (Session& s, string name, DataType type)
- : _session (s)
+Source::Source (Session& s, const string& name, DataType type)
+ : SessionObject(s, name)
, _type(type)
{
- assert(_name.find("/") == string::npos);
+ // not true.. is this supposed to be an assertion?
+ //assert(_name.find("/") == string::npos);
- _name = name;
_timestamp = 0;
_length = 0;
_in_use = 0;
}
Source::Source (Session& s, const XMLNode& node)
- : _session (s)
+ : SessionObject(s, "unnamed source")
, _type(DataType::AUDIO)
{
_timestamp = 0;