Commit Graph

11 Commits

Author SHA1 Message Date
notdave22 56c911d4dd per pcm_writei ' @return On success, this function returns the number of frames written; otherwise, a negative number.' 2020-09-04 06:27:33 -05:00
Bruno Morais 88d92e9744 Fix cross-compilation
Cross-compilation failing due to make library resolution.
2020-02-22 15:23:59 -05:00
Bhalchandra Gajare dcea636de0 tinyalsa: add support for PCM plugins
Update the pcm framework to support plugins. Resolve the pcm device node
to be either kernel device or virtual device and setup function pointers
accordingly. Implement framework functionality for pcm_plugin.c for ease
of plugin development. Plugin itself is compiled as shared object (.so)
and dynamically linked from pcm_plugin.c.

Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
Signed-off-by: Rohit kumar <rohitkr@codeaurora.org>
2020-02-07 12:16:27 +05:30
Taylor Holberton 69d37b8216 pcm-readi: Fixed segfault in failure recovery 2019-06-26 18:01:59 -04:00
Taylor Holberton 9203fe8030 Checking for error in pcm_writei example 2019-01-13 13:23:46 -05:00
Tim-Philipp Müller 230a291494 Add support for Meson as build system
The Meson build system is being adopted by projects
such as GNOME, PulseAudio, GStreamer, VLC, systemd, Mesa,
Wayland, X.org, and many others. Having a meson build
upstream in tinyalsa would allow for easy use of tinyalsa
as a Meson subproject in other projects.

https://mesonbuild.com
2018-12-15 20:16:03 +00:00
Taylor Holberton f40bda81bf Fixed segfault 2017-10-12 20:36:15 -04:00
Taylor Holberton 30f7ec55df added clean target 2017-01-14 10:51:26 -08:00
Taylor Holberton fe4a22cca1 added cross compile var to examples 2017-01-14 09:08:58 -08:00
Taylor Holberton bd6ed24d37 Added include directory in CFLAGS variable 2016-12-04 13:43:59 -08:00
Taylor Holberton 5317e1ce90 Added examples for basic IO
Added an example of pcm_writei usage and an example of pcm_readi
usage. Both examples use a common file called 'audio.raw'.
2016-12-04 13:17:53 -08:00