aboutsummaryrefslogtreecommitdiff
path: root/src/pcm_plugin.c
AgeCommit message (Collapse)Author
2022-01-11include time.h before asound.hFabrice Fontaine
Include time.h before asound.h to avoid the following build failure on musl that was already fixed a long time with https://github.com/tinyalsa/tinyalsa/commit/c8333f8c7a4e4b9549abeef7530b2cd20a18e537 but reappeared on version 2.0.0: In file included from ../src/pcm_hw.c:42: /home/peko/autobuild/instance-1/output-1/host/i586-buildroot-linux-musl/sysroot/usr/include/sound/asound.h:444:18: error: field 'trigger_tstamp' has incomplete type 444 | struct timespec trigger_tstamp; /* time when stream was started/stopped/paused */ | ^~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/a75e23dc585bd071f4d65face5489ed6ac22edbe Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2021-11-23insert null at end of strncpy target array.toge
2021-11-17fix strncpy warningstoge
2020-09-03pcm_plugin: Update pcm state check in ttstamp opsRohit kumar
TTstamp ops is called from pcm_open. Update state check to avoid failure.
2020-09-03tinyalsa: add plugin support for mmap/poll opsRohit kumar
2020-08-25pcm_plugin: Update pcm state in sync_ptr opsRohit kumar
PCM state is currently not updated in plugin. Add support to update the state variable.
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>