diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-03-02 17:05:16 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-03-02 17:05:16 +0000 |
commit | 5e431d1d5806e8f617b9bfa10c5c8766e0b1a4ce (patch) | |
tree | 2561e389524a2348eb2c0f8f9ed6462c3220a593 /libs/ardour/ardour/session.h | |
parent | 488d54a341b2d4f6bb23f8801d293356f664a96a (diff) |
remove entire "stub" file concept; open new audio and MIDI files on demand (at first write); could be a few gotchas with some corner case scenarios, but apparently works OK
git-svn-id: svn://localhost/ardour2/branches/3.0@9038 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/session.h')
-rw-r--r-- | libs/ardour/ardour/session.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index bf3df2f0a8..c7a72a4e63 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -187,7 +187,7 @@ class Session : public PBD::StatefulDestructible, public PBD::ScopedConnectionLi std::string peak_path_from_audio_path (std::string) const; std::string new_audio_source_name (const std::string&, uint32_t nchans, uint32_t chan, bool destructive); std::string new_midi_source_name (const std::string&); - std::string new_source_path_from_name (DataType type, const std::string&, bool as_stub = false); + std::string new_source_path_from_name (DataType type, const std::string&); RouteList new_route_from_template (uint32_t how_many, const std::string& template_path); void process (pframes_t nframes); @@ -543,10 +543,10 @@ class Session : public PBD::StatefulDestructible, public PBD::ScopedConnectionLi static PBD::Signal0<int> AskAboutPendingState; boost::shared_ptr<AudioFileSource> create_audio_source_for_session ( - size_t, std::string const &, uint32_t, bool destructive, bool as_stub = false); + size_t, std::string const &, uint32_t, bool destructive); boost::shared_ptr<MidiSource> create_midi_source_for_session ( - Track*, std::string const &, bool as_stub = false); + Track*, std::string const &); boost::shared_ptr<Source> source_by_id (const PBD::ID&); boost::shared_ptr<Source> source_by_path_and_channel (const std::string&, uint16_t); @@ -1472,7 +1472,6 @@ class Session : public PBD::StatefulDestructible, public PBD::ScopedConnectionLi void add_session_range_location (framepos_t, framepos_t); void setup_midi_machine_control (); - void cleanup_stubfiles (); void route_order_key_changed (); |