From dd84573ac22e3ec11f8edbf79f82384c01355ec6 Mon Sep 17 00:00:00 2001 From: Simon Wilson Date: Thu, 14 Jul 2011 12:02:05 -0700 Subject: Add tinycap utility to capture PCM riff/wave files This adds a utility to capture audio with a specified number of parameters. Capturing continues until a signal is received (ctrl-c). Contains some contributions from Chris Kelly --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2013d59..63cbea4 100644 --- a/Makefile +++ b/Makefile @@ -3,11 +3,14 @@ INC = include OBJECTS = mixer.o pcm.o LIB = libtinyalsa.so -all: $(LIB) tinyplay tinymix +all: $(LIB) tinyplay tinycap tinymix tinyplay: $(LIB) tinyplay.o gcc tinyplay.o -L. -ltinyalsa -o tinyplay +tinycap: $(LIB) tinycap.o + gcc tinycap.o -L. -ltinyalsa -o tinycap + tinymix: $(LIB) tinymix.o gcc tinymix.o -L. -ltinyalsa -o tinymix @@ -18,4 +21,5 @@ $(LIB): $(OBJECTS) gcc $(CFLAGS) $< -I$(INC) clean: - rm $(LIB) $(OBJECTS) tinyplay.o tinyplay + rm $(LIB) $(OBJECTS) tinyplay.o tinyplay tinycap.o tinycap \ + tinymix.o tinymix -- cgit v1.2.3