diff options
Diffstat (limited to 'src/libs/shared')
-rw-r--r-- | src/libs/shared/ClashAvoider.cpp | 7 | ||||
-rw-r--r-- | src/libs/shared/ClashAvoider.hpp | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/libs/shared/ClashAvoider.cpp b/src/libs/shared/ClashAvoider.cpp index de4fb4c9..d5d1d245 100644 --- a/src/libs/shared/ClashAvoider.cpp +++ b/src/libs/shared/ClashAvoider.cpp @@ -203,5 +203,12 @@ ClashAvoider::set_voice_value(const std::string& port_path, } +void +ClashAvoider::destroy(const std::string& path) +{ + _target.destroy(map_path(path)); +} + + } // namespace Shared } // namespace Ingen diff --git a/src/libs/shared/ClashAvoider.hpp b/src/libs/shared/ClashAvoider.hpp index 9f205ff5..f7016e4e 100644 --- a/src/libs/shared/ClashAvoider.hpp +++ b/src/libs/shared/ClashAvoider.hpp @@ -80,6 +80,8 @@ public: void set_voice_value(const std::string& port_path, uint32_t voice, const Raul::Atom& value); + + void destroy(const std::string& path); private: const Raul::Path map_path(const Raul::Path& in); |