test: added command line test program for pcm_volume.c

This program is a simple utility for debugging and benchmarking the
software volume code.
This commit is contained in:
Max Kellermann
2009-02-18 22:27:55 +01:00
parent 54387d1451
commit 76dc9ac5f9
3 changed files with 70 additions and 2 deletions
+5 -2
View File
@@ -7,7 +7,6 @@ EXTRA_DIST = $(doc_DATA) autogen.sh \
$(wildcard scripts/*.sh) scripts/mpd.spec \
.gitignore
AM_CFLAGS = -I$(srcdir)/src $(GLIB_CFLAGS)
AM_LDFLAGS = $(GLIB_LIBS)
@@ -18,7 +17,11 @@ AM_LDFLAGS = $(GLIB_LIBS)
if ENABLE_TEST
noinst_PROGRAMS =
noinst_PROGRAMS = test/software_volume
test_software_volume_SOURCES = test/software_volume.c \
src/audio_parser.c \
src/pcm_volume.c
endif