summaryrefslogtreecommitdiff
path: root/libs/ardour/source.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-09-19 03:29:16 +0000
committerDavid Robillard <d@drobilla.net>2006-09-19 03:29:16 +0000
commit7bd41538d951c3e476655df741adfbebbb990bde (patch)
treef9988f959571c75535341ab1de463b7cfc5209e3 /libs/ardour/source.cc
parentc7307c09b8584b15610f0b29a40f839d9183419a (diff)
Merged with trunk R920.
git-svn-id: svn://localhost/ardour2/branches/midi@921 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/source.cc')
-rw-r--r--libs/ardour/source.cc13
1 files changed, 6 insertions, 7 deletions
diff --git a/libs/ardour/source.cc b/libs/ardour/source.cc
index d218e2cf94..977aea6efd 100644
--- a/libs/ardour/source.cc
+++ b/libs/ardour/source.cc
@@ -42,11 +42,9 @@ using std::max;
using namespace ARDOUR;
-sigc::signal<void,Source*> Source::SourceCreated;
-
-
-Source::Source (string name, DataType type)
- : _type(type)
+Source::Source (Session& s, string name, DataType type)
+ : _session (s)
+ , _type(type)
{
assert(_name.find("/") == string::npos);
@@ -55,8 +53,9 @@ Source::Source (string name, DataType type)
_length = 0;
}
-Source::Source (const XMLNode& node)
- : _type(DataType::AUDIO)
+Source::Source (Session& s, const XMLNode& node)
+ : _session (s)
+ , _type(DataType::AUDIO)
{
_timestamp = 0;
_length = 0;