aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-09-21Add changelog for tinyalsa 2.0.0Simon Wilson
This should also fix the version check in scripts/travis-build.sh
2020-09-21Merge pull request #182 from ericriff/eriff/fix-cmakelistSimon Wilson
Fix error when building with -DTINYALSA_BUILD_UTILS=OFF
2020-09-21Merge pull request #173 from rohkkumar/mixer_fixSimon Wilson
Fix mixer set/get for tlv based controls
2020-09-16Fix error when building with -DTINYALSA_BUILD_UTILS=OFFRiff, Eric
2020-09-16Merge pull request #181 from gkasten/make_dependSimon Wilson
Fix Makefile dependencies
2020-09-16Merge pull request #180 from gkasten/doxyfileSimon Wilson
Update Doxyfile from version 1.8.11 to 1.8.17
2020-09-16Merge pull request #177 from gkasten/readmeSimon Wilson
Update README.md for build systems and Debian
2020-09-16Fix Makefile dependenciesGlenn Kasten
2020-09-16Update Doxyfile from version 1.8.11 to 1.8.17Glenn Kasten
2020-09-16Update README.md for build systems and DebianGlenn Kasten
2020-09-08Merge pull request #176 from tinyalsa/issue-175Simon Wilson
Minor TLV Fixes
2020-09-04tinymix: Fix get/set for tlv based mixer controlsRohit kumar
TLV header is added by tinyalsa library. Remove tlv header addition from tinymix to avoid adding it twice.
2020-09-04mixer: Fix invalid size check in mixer_ctl_set/get_arrayRohit kumar
For TLV based mixer controls, mixer_ctl_set/get_array adds TLV headers in the API itself. Size check for count need not include tlv header size addition. Remove it to fix size check.
2020-09-03Using struct for TLV sizeTaylor Holberton
2020-09-03Merge pull request #174 from rohkkumar/mmap_plugin_supportSimon Wilson
Mmap plugin support
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-08-25include: tinyalsa: Add PCM state macrosRohit kumar
Add PCM_STATE_OPEN and PCM_STATE_SETUP macros so that it can be utilized by plugin to update sync_ptr state.
2020-08-12Fixed boundary check for enumTaylor Holberton
2020-08-05Bump version to 2.0.0 TinyALSATaylor Holberton
2020-08-05Reordered enums to be compatible with Google's TinyALSATaylor Holberton
2020-07-19Fix last commit.Taylor Holberton
2020-07-19Quick fix for #168Taylor Holberton
2020-06-30Merge pull request #164 from E5ten/cmake-standardTaylor Holberton
cmake: specify c99
2020-06-30Merge pull request #165 from E5ten/cmake-fix-includedirTaylor Holberton
cmake: fix header install location
2020-06-06cmake: fix header install locationEthan Sommer
2020-06-05cmake: specify c99Ethan Sommer
Set standard to c99, require it, disable language extensions. Define _POSIX_C_SOURCE to 200809L so time.h declares struct timespec. Add -Wpedantic to find use of language extensions. snd_card_plugin.c: remove one unnecessary ';' to make -Wpedantic work
2020-06-05include/tinyalsa/plugin.h: include time.hEthan Sommer
Older versions of linux's API header sound/asound.h accidentally rely on indirect declaration of struct timespec, which isn't reliable, so include time.h before it to support older versions of sound/asound.h properly
2020-06-05Merge pull request #156 from E5ten/cmake-improvedTaylor Holberton
Various cmake improvements
2020-06-04Various cmake improvementsEthan Sommer
Use scripts/version.sh, and set version in project() using its output. Instead of using a variable to store the definition of TINYALSA_USES_PLUGINS, and adding it as a compile option, use a generator expression to define it in target_compile_definitions when the option is enabled. Set BUILD_SHARED_LIBS to on by default. Add options to disable examples and utils. Instead of using SRCS and HDRS variables, set PUBLIC_HEADER property on tinyalsa to install the headers along with the target. Set library version, so the shared library will have version suffixes. Check that C warning flags are supported instead of adding them unconditionally. Use ${CMAKE_DL_LIBS} instead of hardcoding "dl", and add it to tinyalsa's link interface and link depends, instead of linking it in the examples and utils. Add the "include" directory as a PUBLIC include directory to tinyalsa, instead of making it PRIVATE and adding it to examples and utils as well, because anything linking the tinyalsa target will need to include "include". Instead of using macros for building examples and utils, use a for loop. Include cmake's GNUInstallDirs to automatically correctly populate installation dir variables, instead of doing it manually.
2020-06-03Merge pull request #163 from E5ten/tinywavinfo-unused-resultTaylor Holberton
tinywavinfo: add wrapper for fread to check its return value
2020-06-03tinywavinfo: add wrapper for fread to check its return valueEthan Sommer
2020-06-03Simplified tinywavinfoTaylor Holberton
2020-06-03Added tinywavinfo to CMake buildTaylor Holberton
2020-06-03Merge pull request #161 from E5ten/optparseTaylor Holberton
Add public domain header-only option-parsing library optparse
2020-06-03Merge pull request #160 from E5ten/posix_memalignTaylor Holberton
tinywavinfo: replace obsolete memalign with posix_memalign
2020-06-03tinyplay: replace manual option parsing with optparseEthan Sommer
This also removes the requirement for the file argument to come before options.
2020-06-03tinypcminfo: replace manual option parsing with optparseEthan Sommer
add equivalent longopts that are available in other commands
2020-06-03tinymix: replace getopt_long with optparseEthan Sommer
2020-06-03tinycap: replace manual option parsing with optparseEthan Sommer
2020-06-03utils: check in optparse.h, a public domain header-only optparsing libEthan Sommer
https://github.com/skeeto/optparse
2020-06-03tinywavinfo: replace obsolete memalign with posix_memalignEthan Sommer
2020-06-03Fix memory leakTaylor Holberton
2020-06-03Merge pull request #159 from rohkkumar/plugin_updateTaylor Holberton
Mixer event plugin update
2020-06-03Merge pull request #158 from E5ten/no-map_fileTaylor Holberton
src/pcm.c: remove MAP_FILE mmap flag
2020-06-03Merge pull request #157 from E5ten/version-posix-shTaylor Holberton
scripts/version.sh: switch from bash to POSIX sh
2020-06-02mixer: Fix memory leak and other issues in mixer eventRohit kumar
Fix memory leak in mixer_wait_event(). Also, poll should be unblocked after increasing event_cnt in mixer_plugin, otherwise event_cnt can become negative during read_event. Fix the same.
2020-06-02mixer: Add plugin support for mixer_consume/read_eventRohit kumar
snd_ctl_event is needed by client to get details of event received. Introduce mixer_read_event() with plugin support to support this.
2020-06-02tinyalsa: add mixer_consume_eventAndrew Chant
mixer_consume_event consumes subscribed events from the mixer in order to allow monitoring of mixer control value changed.