feat: add WAV load/save and ring buffer implementation
Co-authored-by: aider (deepseek/deepseek-reasoner) <aider@aider.chat>
This commit is contained in:
6
makefile
6
makefile
@@ -1,8 +1,8 @@
|
||||
CC ?= gcc
|
||||
CFLAGS ?= -Wall -Wextra -g -Isrc
|
||||
LDFLAGS ?= -ljack -lm
|
||||
LDFLAGS ?= -ljack -lm -lpthread
|
||||
|
||||
SRC = src/main.c src/looper.c src/channel.c src/midi.c
|
||||
SRC = src/main.c src/looper.c src/channel.c src/midi.c src/ringbuffer.c src/wav.c
|
||||
OBJ = $(SRC:.c=.o)
|
||||
|
||||
looper: $(OBJ)
|
||||
@@ -12,7 +12,7 @@ src/%.o: src/%.c
|
||||
$(CC) $(CFLAGS) -c -o $@ $<
|
||||
|
||||
integration: looper tests/integration.c
|
||||
$(CC) $(CFLAGS) -o integration_test tests/integration.c -ljack -lm
|
||||
$(CC) $(CFLAGS) -o integration_test tests/integration.c -ljack -lm -lpthread
|
||||
./integration_test
|
||||
|
||||
test: integration
|
||||
|
||||
Reference in New Issue
Block a user