commit | f6fe5233ad4ad11f4a7eff3da6a9de9396a6ad98 | [log] [tgz] |
---|---|---|
author | Miguel GAIO <mgaio35@gmail.com> | Tue Apr 10 06:35:07 2018 +0200 |
committer | Miguel GAIO <mgaio35@gmail.com> | Tue Apr 10 06:41:03 2018 +0200 |
tree | 6d225b3c6df0aed77c94354181d7f1befebce166 | |
parent | b038ae7a5bb0c6744c6732ea6c3575adb0904220 [diff] |
Fix pcm_writei return value if pcm is in not running state. As per comment, on success, pcm_writei returns the number of frames written. Fix the case of pcm not running. 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