Closed djowel closed 1 week ago
Right now if you don’t implement the wrapper factory then we auto detect here
but you can see below thst thst if your clap implements the auv2 wrapper factory you can pick your type directly.
Alternately if you are a single plugin clap (that is you factory count is 1) you can set the plugin type in cmake. https://github.com/free-audio/clap-wrapper/blob/497f40a7580a2f6326fa06691f39aa3d7e0e78a7/cmake/wrap_auv2.cmake#L12
If these don’t work please do share a bit more detail. Thanks!
Pardon the delay. I'll try these suggestions and get back to you on the results. The last one is what I tried previously (setting the INSTRUMENT_TYPE in cmake). I get this build error:
In file included from /Users/joel/dev/cycfi/soniq/external/clap-wrapper/src/wrapasauv2.cpp:1:
/Users/joel/dev/cycfi/soniq/cmake-build-debug/soniq_auv2-build-helper-output/generated_entrypoints.hxx:6:47: error: expected expression
free_audio::auv2_wrapper::WrapAsAUV2(,"Soniq", "", 0, ci) {}};
^
The generated_entrypoints.hxx produces an empty string when the type is not handled:
#pragma once
#include "detail/auv2/auv2_base_classes.h"
struct wrapAsAUV2_inst0 : free_audio::auv2_wrapper::WrapAsAUV2 {
wrapAsAUV2_inst0(AudioComponentInstance ci) :
free_audio::auv2_wrapper::WrapAsAUV2(,"Soniq", "", 0, ci) {}};
AUSDK_COMPONENT_ENTRY(ausdk::AUMusicDeviceFactory, wrapAsAUV2_inst0);
Ahh well obviously we should fix thst. I’ll take a peek in the morning
OK able to reproduce this. Fix coming shortly I hope.
OK I think #275 fixes this problem but I'd just like @defiantnerd to peek at it before we merge it to next.
If you want to try that branch, feedback would be great! Thanks!
Wonderful! Thank you!
Running
auval
gives this warning:I can't just use 'aumf' because it is not supported and produces build errors.