aboutsummaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorKui Wang <wangkuisuper@hotmail.com>2020-11-01 23:27:53 +0800
committerKui Wang <wangkuisuper@hotmail.com>2020-11-01 23:27:53 +0800
commit4655fedee7c0f28bd0333fe89e5fd276a1276132 (patch)
treea2cbbb5eeccc9dc770dd78e374c5168cdd4b9f32 /.gitignore
parent2378be171c12271dd76baf099e1e050218a4170b (diff)
Backward compatible for pcm_write() pcm_read()
Current return value of pcm_write()/pcm_read() comes from pcm_writei()/pcm_readi() which is the actual frames written/read. But the old pcm_write() /pcm_read() just returns 0 on success and a nagative value on error. This change will keep the pcm_write()/pcm_read() as the old behavior which has been already used by many applications, and is also matching the comment above each function. Signed-off-by: Kui Wang <wangkuisuper@hotmail.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions