ifdef fix
This commit is contained in:
parent
42d03ee749
commit
20727f5f09
@ -301,7 +301,10 @@ 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) {
|
||||||
mem = malloc(req);
|
mem = malloc(req);
|
||||||
|
Loading…
Reference in New Issue
Block a user