Install sound samples to correct places.

All .wav files go in /usr/share/sounds/alsa
The sample_map.csv goes in /usr/share/alsa/speaker-test
This commit is contained in:
James Courtier-Dutton 2005-04-16 11:09:26 +00:00
parent 266e9b3a94
commit fb2f99f1f9
4 changed files with 25 additions and 1 deletions

View file

@ -90,4 +90,4 @@ AC_OUTPUT(Makefile alsactl/Makefile alsamixer/Makefile amidi/Makefile amixer/Mak
aplay/Makefile include/Makefile iecset/Makefile utils/Makefile \ aplay/Makefile include/Makefile iecset/Makefile utils/Makefile \
utils/alsa-utils.spec seq/Makefile seq/aconnect/Makefile \ utils/alsa-utils.spec seq/Makefile seq/aconnect/Makefile \
seq/aplaymidi/Makefile seq/aseqdump/Makefile seq/aseqnet/Makefile \ seq/aplaymidi/Makefile seq/aseqdump/Makefile seq/aseqnet/Makefile \
speaker-test/Makefile) speaker-test/Makefile speaker-test/samples/Makefile)

View file

@ -1,5 +1,7 @@
SPEAKER_TEST_VERSION = 0.0.8 SPEAKER_TEST_VERSION = 0.0.8
INCLUDES = -I$(top_srcdir)/include -DVERSION=\"$(SPEAKER_TEST_VERSION)\" INCLUDES = -I$(top_srcdir)/include -DVERSION=\"$(SPEAKER_TEST_VERSION)\"
SUBDIRS= samples
bin_PROGRAMS = speaker-test bin_PROGRAMS = speaker-test
speaker_test_SOURCES = speaker-test.c pink.c speaker_test_SOURCES = speaker-test.c pink.c
man_MANS = speaker-test.1 man_MANS = speaker-test.1

View file

@ -0,0 +1,20 @@
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)

View file

@ -0,0 +1,2 @@
0, "Front Left", "/usr/share/alsa/samples/Front_Left.wav"
1, "Front Right", "/usr/share/alsa/samples/Front_Right.wav"
1 0 Front Left /usr/share/alsa/samples/Front_Left.wav
2 1 Front Right /usr/share/alsa/samples/Front_Right.wav