aboutsummaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)Author
2021-01-12remove pcm_prepare in pcm_opendvdli
For the dynamic pcm device, it is valid to specify the backend after opening it. However, it is invalid to call prepare on a dynamic pcm device without connecting any backend device. We should not do pcm_prepare in pcm_open. See also: Issue #197
2020-09-04per pcm_writei ' @return On success, this function returns the number of ↵notdave22
frames written; otherwise, a negative number.'
2020-02-22Fix cross-compilationBruno Morais
Cross-compilation failing due to make library resolution.
2020-02-07tinyalsa: add support for PCM pluginsBhalchandra Gajare
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>
2019-06-26pcm-readi: Fixed segfault in failure recoveryTaylor Holberton
2019-01-13Checking for error in pcm_writei exampleTaylor Holberton
2018-12-15Add support for Meson as build systemTim-Philipp Müller
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
2017-10-12Fixed segfaultTaylor Holberton
2017-01-14added clean targetTaylor Holberton
2017-01-14added cross compile var to examplesTaylor Holberton
2016-12-04Added include directory in CFLAGS variableTaylor Holberton
2016-12-04Added examples for basic IOTaylor Holberton
Added an example of pcm_writei usage and an example of pcm_readi usage. Both examples use a common file called 'audio.raw'.