1-multichannel #1
2
makefile
2
makefile
@@ -22,7 +22,7 @@ clean:
|
||||
rm -f looper integration_test src/*.o
|
||||
|
||||
check:
|
||||
cppcheck --enable=all --error-exitcode=1 --suppress=missingIncludeSystem --suppress=usleepCalled --suppress=unreadVariable --suppress=normalCheckLevelMaxBranches src/*.c --library=posix .
|
||||
cppcheck --enable=all --error-exitcode=1 --suppress=unreadVariable src/*.c --library=posix .
|
||||
|
||||
# Optional: Format code using clang-format
|
||||
format:
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// cppcheck-suppress missingIncludeSystem
|
||||
#include "channel.h"
|
||||
#include <jack/jack.h>
|
||||
#include <stdatomic.h>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#ifndef CHANNEL_H
|
||||
#define CHANNEL_H
|
||||
|
||||
// cppcheck-suppress missingIncludeSystem
|
||||
#include <jack/jack.h>
|
||||
#include <stdatomic.h>
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// cppcheck-suppress missingIncludeSystem
|
||||
#include "looper.h"
|
||||
#include "channel.h"
|
||||
#include "midi.h"
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#ifndef LOOPER_H
|
||||
#define LOOPER_H
|
||||
|
||||
// cppcheck-suppress missingIncludeSystem
|
||||
#include <jack/jack.h>
|
||||
|
||||
/* Initialisation – must be called after setting process callback */
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// cppcheck-suppress missingIncludeSystem
|
||||
#include "looper.h"
|
||||
#include <jack/jack.h>
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// cppcheck-suppress missingIncludeSystem
|
||||
#include "midi.h"
|
||||
#include "channel.h"
|
||||
#include <jack/jack.h>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#ifndef MIDI_H
|
||||
#define MIDI_H
|
||||
|
||||
// cppcheck-suppress missingIncludeSystem
|
||||
#include <jack/types.h>
|
||||
|
||||
void midi_handle_events(void *port_buffer, jack_nframes_t nframes);
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
// cppcheck-suppress missingIncludeSystem
|
||||
// cppcheck-suppress usleepCalled
|
||||
// cppcheck-suppress normalCheckLevelMaxBranches
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
Reference in New Issue
Block a user