OSDN Git Service

audiohal: Do not log if EINVAL is received from get_presentation_position
authorMikhail Naganov <mnaganov@google.com>
Thu, 8 Dec 2016 01:05:40 +0000 (17:05 -0800)
committerMikhail Naganov <mnaganov@google.com>
Thu, 8 Dec 2016 01:08:04 +0000 (17:08 -0800)
commit13f43f4afeb56edf8aab858320107d0e378a6356
treeb33b7b64334c89f663d7e524e67c9e8062da6a19
parent2508e0cbc5ece35347a4a937fc217d851adcc525
audiohal: Do not log if EINVAL is received from get_presentation_position

This happens often, and it's normal. Avoid logging it down as this
causes logspam.

Bug: 33353073
Change-Id: Ia3b1b8af61bdf83e9bcde0e5bed0285af037df45
Test: cause the system to play some sounds (e.g. UI clicks), watch logcat
audio/2.0/default/Stream.cpp
audio/2.0/default/Stream.h
audio/2.0/default/StreamOut.cpp