summaryrefslogtreecommitdiff
path: root/libs/ardour/coreaudiosource.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-11-30 13:16:38 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-11-30 13:16:38 +0000
commitacdc88f279760443dc7397290e9c4752af5b23c9 (patch)
tree014adddabb815ab9d906f3bda1a2b2c78128e0ca /libs/ardour/coreaudiosource.cc
parent395efbc32d02fda70df50079bedee35c355b3b37 (diff)
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
Diffstat (limited to 'libs/ardour/coreaudiosource.cc')
-rw-r--r--libs/ardour/coreaudiosource.cc6
1 files changed, 3 insertions, 3 deletions
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 {