diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-07-16 14:55:11 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-07-16 14:55:11 +0000 |
commit | c8e3f32533cc6f4481222781d93e7bf7c32ffe5f (patch) | |
tree | 94f6c8a687459ebeaaa259acc4da1832ff2bd303 /libs/ardour/playlist_factory.cc | |
parent | e9ab577177db3c37719331c00900e48d4dfbf158 (diff) |
newly created files for use in recording appear in a .stubs folder, and are moved out of it when recording stops
git-svn-id: svn://localhost/ardour2/branches/3.0@7426 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/playlist_factory.cc')
-rw-r--r-- | libs/ardour/playlist_factory.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/ardour/playlist_factory.cc b/libs/ardour/playlist_factory.cc index 2619d0e0c4..00996a059d 100644 --- a/libs/ardour/playlist_factory.cc +++ b/libs/ardour/playlist_factory.cc @@ -40,10 +40,11 @@ PlaylistFactory::create (Session& s, const XMLNode& node, bool hidden, bool unus boost::shared_ptr<Playlist> pl; - if ( !type || type->value() == "audio" ) + if (!type || type->value() == "audio") { pl = boost::shared_ptr<Playlist> (new AudioPlaylist (s, node, hidden)); - else if ( type->value() == "midi" ) + } else if (type->value() == "midi") { pl = boost::shared_ptr<Playlist> (new MidiPlaylist (s, node, hidden)); + } pl->set_region_ownership (); |