alsa-utils/bat
Lu, Han 241d7fc1bb alsabat: refactoring alsa capture thread
Refactoring ALSA capture thread:
  1. Move file open/seek operations to sub function, so all file
  processes are now on a single function (read_from_pcm_loop()), so
  the structure is more reasonable, the function API is simplified
  and no need file cleanup in thread loop.
  2. Replace the wav header processing lines with a general function
  (update_wav_header()), which can be reused in other sections.
  3. Add pthread_exit() for thread to exit safely in single line mode,
  and correct comment.

Signed-off-by: Lu, Han <han.lu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2016-03-23 17:51:21 +01:00
..
alsa.c alsabat: refactoring alsa capture thread 2016-03-23 17:51:21 +01:00
alsa.h BAT: Add playback and record functions 2015-10-02 12:42:01 +02:00
alsabat-test.sh alsabat: add bash test script 2016-03-15 09:59:56 +01:00
alsabat.1 alsabat: add standalone mode 2016-03-15 09:59:26 +01:00
analyze.c alsabat: fix fopen and messages 2016-03-21 18:04:03 +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: fix fopen and messages 2016-03-21 18:04:03 +01:00
common.c alsabat: refactoring alsa capture thread 2016-03-23 17:51:21 +01:00
common.h alsabat: refactoring alsa capture thread 2016-03-23 17:51:21 +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: add bash test script 2016-03-15 09:59:56 +01:00
signal.c BAT: Add signal generator 2015-10-02 12:42:02 +02:00