Vapor/LV2: API to pass options to exporter
This commit is contained in:
parent
0fa8c5add4
commit
22fef5ab2b
@ -94,7 +94,7 @@ class LIBARDOUR_API LV2Plugin : public ARDOUR::Plugin, public ARDOUR::Workee
|
|||||||
const void* extension_data (const char* uri) const;
|
const void* extension_data (const char* uri) const;
|
||||||
|
|
||||||
#ifdef LV2_EXTENDED
|
#ifdef LV2_EXTENDED
|
||||||
int setup_export (const char*);
|
int setup_export (const char*, LV2_Options_Option const* options = NULL);
|
||||||
int finalize_export ();
|
int finalize_export ();
|
||||||
bool can_export () const { return _export_interface; }
|
bool can_export () const { return _export_interface; }
|
||||||
#endif
|
#endif
|
||||||
|
@ -1216,12 +1216,13 @@ LV2Plugin::midnam_model () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
LV2Plugin::setup_export (const char* fn)
|
LV2Plugin::setup_export (const char* fn, LV2_Options_Option const* options)
|
||||||
{
|
{
|
||||||
if (!_export_interface) {
|
if (!_export_interface) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
return _export_interface->setup ((void*)_impl->instance->lv2_handle, fn, NULL);
|
|
||||||
|
return _export_interface->setup ((void*)_impl->instance->lv2_handle, fn, options);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
Loading…
Reference in New Issue
Block a user