From acdc88f279760443dc7397290e9c4752af5b23c9 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 30 Nov 2009 13:16:38 +0000 Subject: attempt to remove confusion and errors caused by unclear semantics of _is_embedded for FileSources; member renamed _within_session, and is now ALWAYS determined by the _path of the FileSource, never by the creator git-svn-id: svn://localhost/ardour2/branches/3.0@6213 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/coreaudiosource.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libs/ardour/coreaudiosource.cc') diff --git a/libs/ardour/coreaudiosource.cc b/libs/ardour/coreaudiosource.cc index eac6426520..a4da378aa4 100644 --- a/libs/ardour/coreaudiosource.cc +++ b/libs/ardour/coreaudiosource.cc @@ -41,7 +41,7 @@ CoreAudioSource::CoreAudioSource (Session& s, const XMLNode& node) : Source (s, node) , AudioFileSource (s, node) { - init (); + init_cafile (); } CoreAudioSource::CoreAudioSource (Session& s, const string& path, bool, int chn, Flag flags) @@ -51,11 +51,11 @@ CoreAudioSource::CoreAudioSource (Session& s, const string& path, bool, int chn, Source::Flag (flags & ~(Writable|Removable|RemovableIfEmpty|RemoveAtDestroy))) { _channel = chn; - init (); + init_cafile (); } void -CoreAudioSource::init () +CoreAudioSource::init_cafile () { /* note that we temporarily truncated _id at the colon */ try { -- cgit v1.2.3