示例#1
0
const void*
LV2Module::getExtensionData (const String& uri) const
{
    return instance ? lilv_instance_get_extension_data (instance, uri.toUTF8()) : nullptr;
}
示例#2
0
void Lv2Worker::setInstance(LilvInstance *instance)
{
    handle = instance->lv2_handle;
    interface = (LV2_Worker_Interface*)lilv_instance_get_extension_data(instance, LV2_WORKER__interface);
}