Paul Davis
3d12a4da82
all backends export a symbol declared as "extern "C" ARDOURBACKEND_API ARDOUR::AudioBackendInfo* descriptor ()". dlopen'ing the backend apparently pushes the symbol "descriptor" into the single flat global namespace that we use to be like other unix-like systems. this means that if a backend calls its OWN function named "descriptor", it is indeterminate which one it will be, since the symbol will refer to the function first loaded by the runtime linker. If the backend is not the first one discovered, this call to its own "descriptor" function will invoke the function defined by another backend, even though these are supposed to have local scope only according to our arguments to dlopen(). This fix doesn't try to fix the linker or namespace - it just makes sure that the WavesAudio backend doesn't invoke its own descriptor() function, which it never really needed to do anyway. |
||
---|---|---|
.. | ||
alsa | ||
dummy | ||
jack | ||
MSVCbackends | ||
wavesaudio | ||
wscript |