CRAS: rstream - Add API to flush audio messages

Add API to let cras_rstream read and handle audio messages from client.
The pending flag in shm can be cleared if client replies the request.

BUG=b:68479798
TEST=unittest to be added.
Change-Id: Ic997bbd3a789af31ba23ab028f6605e3271183aa
Reviewed-on: https://chromium-review.googlesource.com/768776
Commit-Ready: Cheng-Yi Chiang <cychiang@chromium.org>
Tested-by: Cheng-Yi Chiang <cychiang@chromium.org>
Reviewed-by: Cheng-Yi Chiang <cychiang@chromium.org>
3 files changed