diff options
author | Miguel GAIO <mgaio35@gmail.com> | 2018-04-10 06:35:07 +0200 |
---|---|---|
committer | Miguel GAIO <mgaio35@gmail.com> | 2018-04-10 06:41:03 +0200 |
commit | f6fe5233ad4ad11f4a7eff3da6a9de9396a6ad98 (patch) | |
tree | 6d225b3c6df0aed77c94354181d7f1befebce166 /examples/pcm-readi.c | |
parent | b038ae7a5bb0c6744c6732ea6c3575adb0904220 (diff) |
Fix pcm_writei return value if pcm is in not running state.
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>
Diffstat (limited to 'examples/pcm-readi.c')
0 files changed, 0 insertions, 0 deletions