Skip to content

alsabat: clean structure and tinyalsa support

[email protected] alsa-devel 3 versions – Applied

Status from this message: Applied all patches now. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 1 replyApplied
  2. v26 patches 1 replySuperseded
  3. v16 patches 4 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/6alsabat: refactoring alsa capture threadbat/alsa.c bat/common.c bat/common.h+48 -380 replies
2/6alsabat: use general function for wav header updatebat/alsa.c+3 -160 replies
3/6alsabat: clean return value for playback and capture threadsbat/alsa.c+12 -190 replies
4/6alsabat: use general data generator functionbat/alsa.c bat/common.c bat/common.h+53 -560 replies
5/6alsabat: move alsa process to a single blockbat/alsa.c bat/bat.c bat/common.c +2 more+73 -410 replies
6/6alsabat: add tinyalsa supportbat/Makefile.am bat/alsabat.1 bat/bat.c +4 more+522 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH V3 0/6] alsabat: clean structure and tinyalsa support

From: "Lu, Han" <[email protected]>

1. Refactoring alsa process to make structure simpler and cleaner, use general functions and unified return value for convenience of maintaining;
2. Add tinyalsa support, user can choose tinyalsa with "configure --enable-alsabat-backend-tiny" option. By default ALSA lib is used.
The intention is for alsabat to run on tinyalsa platforms such as Android and some IoT devices.

changes on v3:
1. use option "--enable-alsabat-backend-tiny" instead of "--enable-tinyalsa" to avoid ambiguous.
2. fix inconsistent in man page and configure.ac.
changes on v2:
1. add more description to explain the purpose of each patch.
2. use configure option to select tinyalsa, rather than auto detect environment and decide.

Lu, Han (6):
alsabat: refactoring alsa capture thread
alsabat: use general function for wav header update
alsabat: clean return value for playback and capture threads
alsabat: use general data generator function
alsabat: move alsa process to a single block
alsabat: add tinyalsa support

 bat/Makefile.am |  12 +-
 bat/alsa.c      | 217 +++++++++++---------------
 bat/alsabat.1   |   3 +
 bat/bat.c       |  58 +++----
 bat/common.c    |  68 +++++++++
 bat/common.h    |  17 ++-
 bat/signal.c    |  13 +-
 bat/tinyalsa.c  | 460 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 bat/tinyalsa.h  |  20 +++
 configure.ac    |  17 +++
 10 files changed, 711 insertions(+), 174 deletions(-)
 create mode 100644 bat/tinyalsa.c
 create mode 100644 bat/tinyalsa.h
Signature · 1 line
2.5.0