ifdef fix
This commit is contained in:
parent
d9cd79754d
commit
f3f028938b
@ -96,7 +96,7 @@ static void data_callback(ma_device* pDevice, void* pOutput, const void* pInput,
|
|||||||
(void)pDevice;
|
(void)pDevice;
|
||||||
|
|
||||||
#ifdef PARAM_OUT_CPU_INDEX
|
#ifdef PARAM_OUT_CPU_INDEX
|
||||||
const unsigned long long processTimeStart = fatica_time_process();
|
const unsigned long long processTimeStart = fatica_time_process();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__aarch64__)
|
#if defined(__aarch64__)
|
||||||
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user