aboutsummaryrefslogtreecommitdiff
path: root/examples/pcm-writei.c
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.'
2019-01-13Checking for error in pcm_writei exampleTaylor Holberton
2017-10-12Fixed segfaultTaylor 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'.