From: "Lu, Han" han.lu@intel.com
add alsabat features and some fixes. 1. add default device name 2. add standalone mode 3. add tinyalsa support 4. add bash script for basic features test on alsa and tinyalsa 5. refactor alsa thread process to make clearer structure, and allow more common functions shared by alsa and tinyalsa 6. some tiny fixes on code, text and comments
Lu, Han (10): alsabat: add default device name for playback and capture alsabat: add standalone mode alsabat: add tinyalsa support alsabat: clean the thread loopback of alsa capture alsabat: refactor wav file process alsabat: use common data generator function alsabat: add interrupt handler for shutdown alsabat: fix an incorrect print alsabat: use variable for thread return value alsabat: add bash test script
bat/Makefile.am | 14 +- bat/alsa.c | 215 +++++++++-------------------- bat/alsa.h | 3 + bat/alsabat.1 | 12 ++ bat/bat.c | 80 ++++++++++- bat/common.c | 89 ++++++++++++ bat/common.h | 14 ++ bat/testbat.sh | 160 +++++++++++++++++++++ bat/tinyalsa.c | 422 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ bat/tinyalsa.h | 23 +++ configure.ac | 9 +- 11 files changed, 883 insertions(+), 158 deletions(-) create mode 100644 bat/testbat.sh create mode 100644 bat/tinyalsa.c create mode 100644 bat/tinyalsa.h