Parent: 21ad4b8f158baa9c795ca3d05dcdf9955c859953
Author: Szymon Janc <szymon.janc@tieto.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2014-03-01 18:22:23
Tree: 58e2e8ac7c783beab7c4894b45aaabd9448b4831
android/hal-audio: Fix error code handling in audio_ipc_init Make audio_ipc_init follow convention of returning negative code on error. This also fix passing negative error code to strerror in case of pthread_create failure (this function returns non-negative code on error).
Diffstat
| M | android/hal-audio.c | | | 24 | ++++++++++++- - - - - - - - - - - - |
1 files changed, 12 insertions(+), 12 deletions(-)