From 506528a70c1275bfb372e4e925f113fb3f98be88 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 19 Oct 2022 18:19:34 +0200 Subject: [PATCH] Add API to query current export preset --- libs/ardour/ardour/export_profile_manager.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/ardour/ardour/export_profile_manager.h b/libs/ardour/ardour/export_profile_manager.h index 707e277869..fa4b8efee5 100644 --- a/libs/ardour/ardour/export_profile_manager.h +++ b/libs/ardour/ardour/export_profile_manager.h @@ -71,6 +71,7 @@ public: typedef std::list PresetList; PresetList const& get_presets () { return preset_list; } + ExportPresetPtr preset () const { return current_preset; } bool load_preset (ExportPresetPtr preset); ExportPresetPtr new_preset (std::string const& name);