1-multichannel #1
@@ -83,8 +83,7 @@ int process_callback(jack_nframes_t nframes, void *arg) {
|
||||
if (channels[c].record_pos < LOOP_BUF_SIZE)
|
||||
channels[c].loop_buffer[channels[c].record_pos++] =
|
||||
((const float *)in)[i];
|
||||
// cppcheck-suppress unreadVariable
|
||||
((float *)out)[i] = ((const float *)in)[i];
|
||||
((float *)out)[i] = ((const float *)in)[i]; // cppcheck-suppress unreadVariable
|
||||
}
|
||||
} else {
|
||||
memset(out, 0, sizeof(jack_default_audio_sample_t) * nframes);
|
||||
|
||||
Reference in New Issue
Block a user