commit | 05c64c3d64b497ffaba5a78c12e8d0d33320b368 | [log] [tgz] |
---|---|---|
author | Miguel GAIO <mgaio35@gmail.com> | Thu Feb 06 21:09:31 2020 +0100 |
committer | Miguel GAIO <mgaio35@gmail.com> | Thu Feb 06 21:10:09 2020 +0100 |
tree | b6f0d01d2e3c8a5952de42a55de46640d118806d | |
parent | ea9da6e1b16c14408b3bc5323cdc7560366bb943 [diff] |
pcm: Set SW params.avail_min to period size Using MMAP APIs, this parameter wake up application when 'avail_min' samples are availables. When audio processing expects exactly a full period size samples, the default parameter to 1 burns CPU until the full period available. Fix SW params.avail parameter to period size value. Signed-off-by: Miguel GAIO <mgaio35@gmail.com>
TinyALSA is a small library to interface with ALSA in the Linux kernel.
The aims are:
TinyALSA uses Makefile as the primary build system.
To build and install with Make, run the commands:
make sudo make install sudo ldconfig
TinyALSA is now available as a set of the following debian packages from launchpad:
Package Name: | Description: |
---|---|
tinyalsa | Contains tinyplay, tinycap, tinymix and tinypcminfo |
libtinyalsa | Contains the shared library |
libtinyalsa-dev | Contains the static library and header files |
To install these packages, run the commands:
sudo apt-add-repository ppa:taylorcholberton/tinyalsa sudo apt-get update sudo apt-get install tinyalsa sudo apt-get install libtinyalsa-dev
Once installed, the man pages are available via:
man tinyplay man tinycap man tinymix man tinypcminfo man libtinyalsa-pcm man libtinyalsa-mixer