commit | cccf5f39215ca2dee04f8d20f5937db9ab4d89db | [log] [tgz] |
---|---|---|
author | Linux Build Service Account <lnxbuild@localhost> | Thu Nov 20 21:34:31 2014 -0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Thu Nov 20 21:34:31 2014 -0800 |
tree | 34bbd201198d23d6ee0ea23a0c1c484c4dd1969a | |
parent | 284eff23e4e58b913005c9d7513fe1895aceb7fc [diff] | |
parent | 0ae5cfb5e4f45bc29cc2a6bc093851f631ee4233 [diff] |
Merge "hal: use 0 as default return value for out_get_render_position"
diff --git a/hal/audio_hw.c b/hal/audio_hw.c index 9e841df..80fb83b 100644 --- a/hal/audio_hw.c +++ b/hal/audio_hw.c
@@ -2028,7 +2028,7 @@ { struct stream_out *out = (struct stream_out *)stream; if (is_offload_usecase(out->usecase) && (dsp_frames != NULL)) { - ssize_t ret = -EINVAL; + ssize_t ret = 0; *dsp_frames = 0; pthread_mutex_lock(&out->lock); if (out->compr != NULL) {