alsa-utils/bat
Lu, Han 380c9fa444 alsabat: truncate sample frames for faster FFT analysis
Truncate the sample frames to powers of 2, since the FFTW algorithm
runs especially fast in this case, and other sizes may be computed
by means of a slow, general-purpose algorithm.
In my test environment applying the patch, a sound clip of 33072
frames is cut off to 32768 frames before analysis, and the time
cost is reduced from 6.128s to 0.224s.

Signed-off-by: Lu, Han <han.lu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2016-03-01 10:31:00 +01:00
..
alsa.c bat: Don't pass incompatible function pointers to pthread_cleanup_push() 2015-11-09 14:09:50 +01:00
alsa.h BAT: Add playback and record functions 2015-10-02 12:42:01 +02:00
alsabat.1 alsabat: rename to avoid naming conflict 2016-02-03 08:49:53 +01:00
analyze.c alsabat: truncate sample frames for faster FFT analysis 2016-03-01 10:31:00 +01:00
analyze.h BAT: Add spectrum analysis functions 2015-10-02 12:42:03 +02:00
bat-signal.h bat: Avoid local signal.h file 2015-11-09 14:04:11 +01:00
bat.c alsabat: rename to avoid naming conflict 2016-02-03 08:49:53 +01:00
common.c BAT: Add common definitions and functions 2015-10-02 12:42:01 +02:00
common.h alsabat: truncate sample frames for faster FFT analysis 2016-03-01 10:31:00 +01:00
convert.c BAT: Add converting functions 2015-10-02 12:42:02 +02:00
convert.h BAT: Add converting functions 2015-10-02 12:42:02 +02:00
Makefile.am alsabat: rename to avoid naming conflict 2016-02-03 08:49:53 +01:00
signal.c BAT: Add signal generator 2015-10-02 12:42:02 +02:00