ifdef fix

This commit is contained in:
Paolo Marrone 2024-07-09 12:20:18 +02:00
parent 6fa2728e76
commit 5ef05ef959

View File

@ -301,7 +301,9 @@ char audioStart() {
#endif #endif
plugin_set_sample_rate(&instance, (float)device.sampleRate); plugin_set_sample_rate(&instance, (float)device.sampleRate);
#ifdef PARAM_OUT_CPU_INDEX
sample_rate = (float)device.sampleRate; sample_rate = (float)device.sampleRate;
#endif
size_t req = plugin_mem_req(&instance); size_t req = plugin_mem_req(&instance);
if (req != 0) { if (req != 0) {