0
1
mirror of https://github.com/radio95-rnt/fm95.git synced 2026-02-27 03:23:54 +01:00

maybe 0.01% cpu usage down

This commit is contained in:
2025-06-05 19:27:23 +02:00
parent b18fa83005
commit 77489752f9

View File

@@ -37,7 +37,7 @@
#define SCA_DEVICE "\0" // Disabled
#define DARC_DEVICE "\0" // Disabled
#define BUFFER_SIZE 2048
#define BUFFER_SIZE 2048 // Make sure that this is divisible by two
#include "../io/audio.h"
@@ -65,10 +65,6 @@ void uninterleave(const float *input, float *left, float *right, size_t num_samp
vst1q_f32(left + i, input_vec.val[0]);
vst1q_f32(right + i, input_vec.val[1]);
}
for (; i < num_samples / 2; i++) {
left[i] = input[i * 2];
right[i] = input[i * 2 + 1];
}
#else
for (size_t i = 0; i < num_samples / 2; i++) {
left[i] = input[i * 2];