aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-12-01Added pcm_readi and pcm_writei functionsTaylor Holberton
Added these functions to replace pcm_read and pcm_write, which don't return the number of frames actually transferred. On GCC-like compilers, pcm_read and pcm_write have been marked as deprecated On doxygen documentation, they have been marked as deprecated as well.
2016-12-01Added format related getters for PCMTaylor Holberton
Added functions: - pcm_get_channels - pcm_get_rate - pcm_get_format These were added since they're required for iterating samples and frames.
2016-12-01Added function, mixer_get_num_ctls_by_nameTaylor Holberton
This function is used to get the number of mixer controls by a given name. It was added for use with mixer_get_ctl_by_name_and_index so that client code can expect the last valid index to pass.
2016-12-01Merge branch 'const-correctness' into developTaylor Holberton
This merge adds the changes made to the mixer API.
2016-12-01Added mixer_get_ctl_constTaylor Holberton
This function was added to make available a mixer control accessor in a function that does not modify its value.
2016-12-01Added const specifier for several mixer functionsTaylor Holberton
Functions changed are: - mixer_get_name - mixer_get_num_ctls - mixer_ctl_get_id - mixer_ctl_get_name - mixer_ctl_get_type - mixer_ctl_get_type_string - mixer_ctl_get_num_values - mixer_ctl_get_num_enums - mixer_ctl_get_enum_string - mixer_ctl_get_percent - mixer_ctl_get_value - mixer_ctl_get_array - mixer_ctl_get_range_min - mixer_ctl_get_range_max
2016-12-01Merge branch 'const-correctness' into developTaylor Holberton
Added const specifiers to all applicable functions in the PCM API.
2016-12-01Added const specifier in several functionsTaylor Holberton
pcm_get_file_descriptor pcm_get_error pcm_get_buffer_size pcm_frames_to_bytes pcm_bytes_to_frames pcm_get_subdevice
2016-12-01added const specifier in function, pcm_is_readyTaylor Holberton
2016-12-01Added const specifier in pcm_openTaylor Holberton
Added const specifier to the struct pcm_config argument. Changed the way default values of the config structure are set and accessed. They're accessed through the pointer from the argument list and set through the pointer in the pcm structure.
2016-12-01Added const specifier in pcm_openTaylor Holberton
The const specifier was added to the struct pcm_config argument.
2016-12-01Added const specifier to maskTaylor Holberton
The changed was brought on by to early commits to the PCM API.
2016-12-01Added const specifier in several functionsTaylor Holberton
Functions changed are: - pcm_params_get_mask - pcm_params_get_min - pcm_params_get_max - param_get_mask - param_get_min - param_get_max
2016-12-01Added const specifier to params functionsTaylor Holberton
Funtions changed are: - pcm_params_get_mask - pcm_params_get_min - pcm_params_get_max
2016-11-29Added Travis CI badgeTaylor Holberton
2016-11-24Merge pull request #88 from dawagner/fix-includes-install-pathTaylor Holberton
Fix install path of include files
2016-11-24Fix install path of include filesDavid Wagner
They were installed under $prefix/ instead of $prefix/tinyalsa/ Signed-off-by: David Wagner <david.wagner@intel.com>
2016-11-23added mixer ctl member documentationTaylor Holberton
2016-11-23added parameter docTaylor Holberton
2016-11-23fixed function reference in docTaylor Holberton
2016-11-23added some documentationTaylor Holberton
2016-11-23Merge branch 'master' of https://github.com/tinyalsa/tinyalsaTaylor Holberton
2016-11-23finished mixer API documentationTaylor Holberton
2016-11-23added missing asterisk for docTaylor Holberton
2016-11-23updated names of library man pagesTaylor Holberton
2016-11-23Merge pull request #87 from dawagner/travis-make-installTaylor Holberton
Travis: test the 'make install' target
2016-11-23Travis: test the 'make install' targetDavid Wagner
Signed-off-by: David Wagner <david.wagner@intel.com>
2016-11-22removed override directiveTaylor Holberton
2016-11-22corrected error handling in pcm_sync_ptr()Taylor Holberton
2016-11-22using install command instead of cp and mkdirTaylor Holberton
2016-11-22Merge pull request #86 from dawagner/fix-doxygen-installTaylor Holberton
Fix the installation of manpages
2016-11-22Merge pull request #85 from dawagner/travisTaylor Holberton
Add a Travis CI configuration file
2016-11-22Fix the installation of manpagesDavid Wagner
The name of man pages was incorrect. Also, using the coreutils' "install" command makes sense when installing files. Signed-off-by: David Wagner <david.wagner@intel.com>
2016-11-22Add a Travis CI configuration fileDavid Wagner
See https://docs.travis-ci.com/ Signed-off-by: David Wagner <david.wagner@intel.com>
2016-11-19updated referencesTaylor Holberton
2016-11-19added some documentationTaylor Holberton
2016-11-19make tinymix command oriented, based on amixerTaylor Holberton
2016-11-19added tinyalsa version headerTaylor Holberton
2016-11-19renamed doxygen group, tinyalsa-mixer to libtinyalsa-mixerTaylor Holberton
2016-11-19renamed doxygen group, tinyalsa-pcm to libtinyalsa-pcmTaylor Holberton
2016-11-19origanized and added some documentationTaylor Holberton
2016-11-19updated man pageTaylor Holberton
2016-11-19created cmd and ctx structures for tinyplayTaylor Holberton
2016-11-18initializing 'result' from transfer structTaylor Holberton
2016-11-07Merge pull request #84 from BradWalker/masterTaylor Holberton
tinymix shouldn't always print the paths
2016-11-07I work on platforms based on the Qualcomm SnapDragon chip. There can beBrad Walker
hundreds of paths on the audio side of this chip. There was a recent change whereby tinymix will ALWAYS prints the routes/paths for the different ports on ALSA. I consider this to be a regression. It really should only be printed if asked. In addition, I've modified tinymix to more closely conform to the following: https://www.gnu.org/prep/standards/html_node/Command_002dLine-Interfaces.html Lastly, I removed a redundant errno.h..
2016-11-03Merge pull request #82 from maximeh/masterTaylor Holberton
doxygen/Makefile: test if doxygen is available
2016-11-03doxygen/Makefile: test if doxygen is availableMaxime Hadjinlian
On some machine doxygen is not available, instead of having the build error out, display a warning message to the user. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
2016-10-14Merge branch 'master' of https://github.com/tinyalsa/tinyalsaTaylor Holberton
2016-10-14Added support for default configTaylor Holberton