mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
Set playlist ID when importing to new tracks
This amends730a0954andb27bb586. This also restores the original API for do_import() and do_embed() as used by Lua scripts. Note that this uses distinct IDs when importing both audio and MIDI in the same DnD request.
This commit is contained in:
parent
2433b3059f
commit
2b066293fb
8 changed files with 54 additions and 54 deletions
|
|
@ -261,11 +261,10 @@ public:
|
|||
|
||||
/** Import existing media */
|
||||
virtual void do_import (std::vector<std::string> paths, Editing::ImportDisposition, Editing::ImportMode mode, ARDOUR::SrcQuality,
|
||||
ARDOUR::MidiTrackNameSource, ARDOUR::MidiTempoMapDisposition, samplepos_t&, std::string pgroup_id,
|
||||
ARDOUR::MidiTrackNameSource, ARDOUR::MidiTempoMapDisposition, samplepos_t&,
|
||||
boost::shared_ptr<ARDOUR::PluginInfo> instrument = boost::shared_ptr<ARDOUR::PluginInfo>(),
|
||||
bool with_markers = false) = 0;
|
||||
virtual void do_embed (std::vector<std::string> paths, Editing::ImportDisposition, Editing::ImportMode mode,
|
||||
samplepos_t&, std::string pgroup_id,
|
||||
virtual void do_embed (std::vector<std::string> paths, Editing::ImportDisposition, Editing::ImportMode mode, samplepos_t&,
|
||||
boost::shared_ptr<ARDOUR::PluginInfo> instrument = boost::shared_ptr<ARDOUR::PluginInfo>()) = 0;
|
||||
|
||||
/** Open main export dialog */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue