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