commit | c0d68b1cfc5e91e5b154b1b69af04b4d6006a122 | [log] [tgz] |
---|---|---|
author | David Li <dvdli@google.com> | Wed Dec 02 07:46:19 2020 +0000 |
committer | David Li <dvdli@google.com> | Wed Dec 02 07:46:19 2020 +0000 |
tree | 7028f39cbd40f356e0be427e8b436e6099f86f6b | |
parent | 40867609e738919872c88b7716b17c30d96211a4 [diff] |
fix build breakage 1. Add a missing field and a function 2. Disable the deprecated attribute in Android temporarily to allow us to use "pcm_read/write" which are deprecated upstream 3. Remove an unused define and an include in mixer.h 4. Add mixer_ctl_event and copy the snd_ctl_event to mixer_ctl_event 5. Add pcm_ioctl function and mark as deprecated function
TinyALSA is a small library to interface with ALSA in the Linux kernel.
The aims are:
TinyALSA supports these build systems:
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