| @@ -380,7 +380,7 @@ public: | |||||
| // 2 channels | // 2 channels | ||||
| DISCOVERY_OUT("init", "-----------"); | DISCOVERY_OUT("init", "-----------"); | ||||
| DISCOVERY_OUT("name", (const char*)name); | |||||
| DISCOVERY_OUT("name", name.getBuffer()); | |||||
| DISCOVERY_OUT("label", label); | DISCOVERY_OUT("label", label); | ||||
| if (info != nullptr) | if (info != nullptr) | ||||
| @@ -402,7 +402,7 @@ public: | |||||
| // 16 channels | // 16 channels | ||||
| DISCOVERY_OUT("init", "-----------"); | DISCOVERY_OUT("init", "-----------"); | ||||
| DISCOVERY_OUT("name", (const char*)name); | |||||
| DISCOVERY_OUT("name", name.getBuffer()); | |||||
| DISCOVERY_OUT("label", label); | DISCOVERY_OUT("label", label); | ||||
| if (info != nullptr) | if (info != nullptr) | ||||
| @@ -1406,10 +1406,10 @@ static void do_vst_check(void*& libHandle, const bool init) | |||||
| // ----------------------------------------------------------------------- | // ----------------------------------------------------------------------- | ||||
| DISCOVERY_OUT("init", "-----------"); | DISCOVERY_OUT("init", "-----------"); | ||||
| DISCOVERY_OUT("name", (const char*)cName); | |||||
| DISCOVERY_OUT("label", (const char*)cProduct); | |||||
| DISCOVERY_OUT("maker", (const char*)cVendor); | |||||
| DISCOVERY_OUT("copyright", (const char*)cVendor); | |||||
| DISCOVERY_OUT("name", cName.getBuffer()); | |||||
| DISCOVERY_OUT("label", cProduct.getBuffer()); | |||||
| DISCOVERY_OUT("maker", cVendor.getBuffer()); | |||||
| DISCOVERY_OUT("copyright", cVendor.getBuffer()); | |||||
| DISCOVERY_OUT("uniqueId", gVstCurrentUniqueId); | DISCOVERY_OUT("uniqueId", gVstCurrentUniqueId); | ||||
| DISCOVERY_OUT("hints", hints); | DISCOVERY_OUT("hints", hints); | ||||
| DISCOVERY_OUT("audio.ins", audioIns); | DISCOVERY_OUT("audio.ins", audioIns); | ||||
| @@ -1638,8 +1638,8 @@ static void do_csound_check(const char* const filename, const bool init) | |||||
| csound.Reset(); | csound.Reset(); | ||||
| DISCOVERY_OUT("init", "-----------"); | DISCOVERY_OUT("init", "-----------"); | ||||
| // DISCOVERY_OUT("name", (const char*)name); | |||||
| // DISCOVERY_OUT("label", (const char*)label); | |||||
| // DISCOVERY_OUT("name", name.getBuffer()); | |||||
| // DISCOVERY_OUT("label", label.getBuffer()); | |||||
| // DISCOVERY_OUT("maker", ""); | // DISCOVERY_OUT("maker", ""); | ||||
| // DISCOVERY_OUT("copyright", ""); | // DISCOVERY_OUT("copyright", ""); | ||||
| DISCOVERY_OUT("hints", hints); | DISCOVERY_OUT("hints", hints); | ||||
| @@ -1712,8 +1712,8 @@ static void do_fluidsynth_check(const char* const filename, const bool init) | |||||
| // 2 channels | // 2 channels | ||||
| DISCOVERY_OUT("init", "-----------"); | DISCOVERY_OUT("init", "-----------"); | ||||
| DISCOVERY_OUT("name", (const char*)name); | |||||
| DISCOVERY_OUT("label", (const char*)label); | |||||
| DISCOVERY_OUT("name", name.getBuffer()); | |||||
| DISCOVERY_OUT("label", label.getBuffer()); | |||||
| DISCOVERY_OUT("hints", PLUGIN_IS_SYNTH); | DISCOVERY_OUT("hints", PLUGIN_IS_SYNTH); | ||||
| DISCOVERY_OUT("audio.outs", 2); | DISCOVERY_OUT("audio.outs", 2); | ||||
| DISCOVERY_OUT("midi.ins", 1); | DISCOVERY_OUT("midi.ins", 1); | ||||
| @@ -1729,8 +1729,8 @@ static void do_fluidsynth_check(const char* const filename, const bool init) | |||||
| name += " (16 outputs)"; | name += " (16 outputs)"; | ||||
| DISCOVERY_OUT("init", "-----------"); | DISCOVERY_OUT("init", "-----------"); | ||||
| DISCOVERY_OUT("name", (const char*)name); | |||||
| DISCOVERY_OUT("label", (const char*)label); | |||||
| DISCOVERY_OUT("name", name.getBuffer()); | |||||
| DISCOVERY_OUT("label", label.getBuffer()); | |||||
| DISCOVERY_OUT("hints", PLUGIN_IS_SYNTH); | DISCOVERY_OUT("hints", PLUGIN_IS_SYNTH); | ||||
| DISCOVERY_OUT("audio.outs", 32); | DISCOVERY_OUT("audio.outs", 32); | ||||
| DISCOVERY_OUT("midi.ins", 1); | DISCOVERY_OUT("midi.ins", 1); | ||||