Skip to contentSkip to conversation

speaker-test - update to add -s option for single shot single speaker test.

PATCH New James Courtier-Dutton 1 participant 1 message May 16, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 speaker-test - update to add -s option for single shot single speaker test.

I attach a patch that updates the speaker-test program. It corrects a few minor bugs as well as add a new -s option.

Diff is with the alsa-utils cvs.

Cheers
James

Index: alsa-utils/speaker-test/readme.txt
===================================================================
RCS file: /cvsroot/alsa/alsa-utils/speaker-test/readme.txt,v retrieving revision 1.1

speaker-test/readme.txt +5 -3
diff -u -r1.1 readme.txt
@@ -4,9 +4,11 @@
 
 To test: -
 1) Just stereo sound from one stereo jack: -
-./speaker-test -Dfront -c 2
+./speaker-test -Dfront -c2
 2) A 4 speaker setup from two stereo jacks: -
-./speaker-test -Dsurround40 -c 4
+./speaker-test -Dsurround40 -c4
 3) A 5.1 speaker setup from three stereo jacks: -
-./speaker-test -Dsurround51 -c 6
+./speaker-test -Dsurround51 -c6
+4) To send a nice low 75Hz tone to the Woofer and then exit without touching any other speakers: -
+./speaker-test -Dplug:surround51 -c6 -s1 -f75
 

Index: alsa-utils/speaker-test/speaker-test.c
===================================================================
RCS file: /cvsroot/alsa/alsa-utils/speaker-test/speaker-test.c,v retrieving revision 1.1

speaker-test/speaker-test.c +36 -14

115 lines not on this page · raw message