mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 03:35:42 +01:00
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:
parent
266e9b3a94
commit
fb2f99f1f9
4 changed files with 25 additions and 1 deletions
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
20
speaker-test/samples/Makefile.am
Normal file
20
speaker-test/samples/Makefile.am
Normal 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)
|
2
speaker-test/samples/sample_map.csv
Normal file
2
speaker-test/samples/sample_map.csv
Normal 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"
|
|
Loading…
Reference in a new issue