alsa-utils/speaker-test
Takashi Iwai 0d6134450e speaker-test: Fix floating-point exception bug
The period_size an buffer_size parameters must be taken after calling
snd_pcm_hw_params().  Otherwise they could be undefined numbers.
For example, period_size gets 0 when pcsp driver is used, resulting in
a floating-point exception error.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-11-26 14:27:24 +01:00
..
samples Install sound samples to correct places. 2005-04-16 11:09:26 +00:00
Makefile.am Add missing library dependency 2007-06-04 15:14:47 +02:00
pink.c Implement Pink noise output. 2005-04-14 15:53:53 +00:00
pink.h Implement Pink noise output. 2005-04-14 15:53:53 +00:00
readme.txt Update to speaker-tools 0.0.7 2005-02-18 10:18:53 +00:00
speaker-test.1 speaker-test: fix typos in manpage 2006-10-01 15:16:13 +02:00
speaker-test.c speaker-test: Fix floating-point exception bug 2008-11-26 14:27:24 +01:00

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