Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-07-17 | Corrected pcm_sync_ptr() on dma mmap coherent architecture | Miguel Gaio | |
It is valid to get null sync_ptr on dma mmap coherent architecture. In this case pcm_sync_ptr() is a nop. Signed-off-by: Miguel Gaio <mgaio35@gmail.com> | |||
2018-04-10 | Fix pcm_writei return value if pcm is in not running state. | Miguel GAIO | |
As per comment, on success, pcm_writei returns the number of frames written. Fix the case of pcm not running. Signed-off-by: Miguel GAIO <mgaio35@gmail.com> | |||
2017-10-12 | added PCM_NONBLOCK macro | Taylor Holberton | |
2017-04-10 | adding bounds check only when needed | Taylor Holberton | |
2017-04-10 | moved code in pcm_open() to pcm_set_config() | Taylor Holberton | |
2017-04-10 | removed tab characters | Taylor Holberton | |
2017-04-10 | added pcm_get_config() | Taylor Holberton | |
2017-04-06 | simplified pcm_read() and pcm_write() | Taylor Holberton | |
2017-04-06 | checking limits of frame counts | Taylor Holberton | |
2017-04-06 | removed debug statement | Taylor Holberton | |
2017-01-13 | added doc on pcm_open and null checking pcm_is_ready | Taylor Holberton | |
2016-12-24 | Added pcm_open_by_name() | Taylor Holberton | |
This function parses a PCM name similar to the ALSA library. This is done so that the differences between alsa-lib and tinyalsa are a little more transparent to the user. | |||
2016-12-04 | Added pcm_link and pcm_unlink functions | Taylor Holberton | |
The link function is necessary for time sychronization between multiple PCMs. | |||
2016-12-01 | renamed parameter in doc | Taylor Holberton | |
2016-12-01 | Using frame counts in pcm_readi and pcm_writei | Taylor Holberton | |
pcm_readi and pcm_writei now use a frame count to specify the buffer length instead of using a byte count. | |||
2016-12-01 | Added pcm_readi and pcm_writei functions | Taylor 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-01 | Added format related getters for PCM | Taylor 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-01 | Added const specifier in several functions | Taylor 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-01 | added const specifier in function, pcm_is_ready | Taylor Holberton | |
2016-12-01 | Added const specifier in pcm_open | Taylor 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-01 | Added const specifier in several functions | Taylor 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-11-23 | added parameter doc | Taylor Holberton | |
2016-11-23 | added some documentation | Taylor Holberton | |
2016-11-22 | corrected error handling in pcm_sync_ptr() | Taylor Holberton | |
2016-11-19 | added some documentation | Taylor Holberton | |
2016-11-19 | renamed doxygen group, tinyalsa-pcm to libtinyalsa-pcm | Taylor Holberton | |
2016-11-18 | initializing 'result' from transfer struct | Taylor Holberton | |
2016-10-14 | Merge branch 'master' of https://github.com/tinyalsa/tinyalsa | Taylor Holberton | |
2016-10-14 | Added support for default config | Taylor Holberton | |
2016-10-05 | included only necessary headers | Ricardo Biehl Pasquali | |
If users want to use only pcm.c or mixer.c they can. It's not necessary to include tinyalsa/asoundlib.h because mixer.c doesn't use pcm.h and pcm.c doesn't use mixer.h. | |||
2016-10-01 | added basic pcm documentation | Taylor Holberton | |
2016-10-01 | put source files into src dir | Taylor Holberton | |