mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 00:25:43 +01:00
9bc4964572
There are many redundant open codes in speaker-test for performing the similar things, and especially the tone generator codes are ugly. Let's clean up a bit. This patch combines all open-codes into a single common helper with the callback for generating the tone. Signed-off-by: Takashi Iwai <tiwai@suse.de> |
||
---|---|---|
.. | ||
samples | ||
Makefile.am | ||
pink.c | ||
pink.h | ||
readme.txt | ||
speaker-test.1 | ||
speaker-test.c |
To make or build just type make To test: - 1) Just stereo sound from one stereo jack: - ./speaker-test -Dplug:front -c2 2) A 4 speaker setup from two stereo jacks: - ./speaker-test -Dplug:surround40 -c4 3) A 5.1 speaker setup from three stereo jacks: - ./speaker-test -Dplug:surround51 -c6