aboutsummaryrefslogtreecommitdiff
path: root/examples/pcm-readi.c
diff options
context:
space:
mode:
authordvdli <dvdli@google.com>2020-12-09 15:45:04 +0800
committerdvdli <dvdli@google.com>2020-12-09 15:49:00 +0800
commit565fc0e3da9bf0ccea99eb4386a4890cdba56134 (patch)
tree03ac552ddc7dd874c233a4c4a15db8d08cc90748 /examples/pcm-readi.c
parentf64fb3998ccb438cbda2b8eafa8e33462f1e652d (diff)
fix mmap-related functions' bugs
1. sync hw ptr before calculating the avail 2. return zero when reading or writing successfully
Diffstat (limited to 'examples/pcm-readi.c')
0 files changed, 0 insertions, 0 deletions