fix: resolve cppcheck warnings for const pointer and static functions

Co-authored-by: aider (deepseek/deepseek-reasoner) <aider@aider.chat>
This commit is contained in:
Loic Coenen
2026-05-12 19:58:20 +00:00
parent fa9dbf2185
commit bb648d471b
3 changed files with 3 additions and 5 deletions

View File

@@ -135,7 +135,7 @@ int process_callback(jack_nframes_t nframes, void *arg) {
memory_order_acquire);
if (r != NULL) {
if (state == STATE_LOOPING && atomic_load(&channels[c].loop_count) > 0) {
float *outf = (float *)out;
const float *outf = (const float *)out;
ring_write(r, outf, nframes);
}
}