All .wav files go in /usr/share/sounds/alsa
The sample_map.csv goes in /usr/share/alsa/speaker-test
aplay/Makefile include/Makefile iecset/Makefile utils/Makefile \
utils/alsa-utils.spec seq/Makefile seq/aconnect/Makefile \
seq/aplaymidi/Makefile seq/aseqdump/Makefile seq/aseqnet/Makefile \
- speaker-test/Makefile)
+ speaker-test/Makefile speaker-test/samples/Makefile)
SPEAKER_TEST_VERSION = 0.0.8
INCLUDES = -I$(top_srcdir)/include -DVERSION=\"$(SPEAKER_TEST_VERSION)\"
+SUBDIRS= samples
+
bin_PROGRAMS = speaker-test
speaker_test_SOURCES = speaker-test.c pink.c
man_MANS = speaker-test.1
--- /dev/null
+sounddir = $(datadir)/sounds/alsa
+wav_files = Front_Left.wav \
+ Rear_Center.wav \
+ Rear_Right.wav \
+ Side_Right.wav \
+ Front_Center.wav \
+ Front_Right.wav \
+ Noise.wav \
+ Rear_Left.wav \
+ Side_Left.wav
+sound_DATA = $(wav_files)
+
+alsadir = $(datadir)/alsa/speaker-test
+cfg_files = sample_map.csv
+
+alsa_DATA = $(cfg_files)
+
+EXTRA_DIST = \
+ $(wav_files) \
+ $(cfg_files)
--- /dev/null
+0, "Front Left", "/usr/share/alsa/samples/Front_Left.wav"
+1, "Front Right", "/usr/share/alsa/samples/Front_Right.wav"