diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-06-12 04:05:10 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-06-12 04:05:10 +0000 |
commit | 557f56a7f2173fdf9b01dfb3f3410f227d05f8e2 (patch) | |
tree | 2ebd0a0655fadffcb962591355fd0d4a9c7e7ce6 /libs/ardour/ardour/midi_patch_manager.h | |
parent | cf0753a4bd4ed23d40fd06e8d1dec4f0b46da6fc (diff) |
more changes to patch change/plugin preset support - replace regexp replacement with boost::replace_all(), actually find programs/patches in the data we have, and more. notable changes to constructors and structure of various MIDI::Name objects
git-svn-id: svn://localhost/ardour2/branches/3.0@12667 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/midi_patch_manager.h')
-rw-r--r-- | libs/ardour/ardour/midi_patch_manager.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/ardour/midi_patch_manager.h b/libs/ardour/ardour/midi_patch_manager.h index 32b3ebc61d..13c034fbc6 100644 --- a/libs/ardour/ardour/midi_patch_manager.h +++ b/libs/ardour/ardour/midi_patch_manager.h @@ -74,6 +74,7 @@ public: if (master_device != 0 && custom_device_mode != "") { return master_device->channel_name_set_by_device_mode_and_channel(custom_device_mode, channel); } else { + std::cerr << "No MD for " << model << " + " << custom_device_mode << std::endl; return boost::shared_ptr<ChannelNameSet>(); } } @@ -87,8 +88,10 @@ public: boost::shared_ptr<ChannelNameSet> channel_name_set = find_channel_name_set(model, custom_device_mode, channel); if (channel_name_set) { + std::cerr << "found CNS for " << model << " + " << custom_device_mode << std::endl; return channel_name_set->find_patch(patch_key); } else { + std::cerr << "no CNS for " << model << " + " << custom_device_mode << std::endl; return boost::shared_ptr<Patch>(); } } |