Merge "hal_mpq: Fix the underrun issue in the offload playback"

This commit is contained in:
Linux Build Service Account 2014-01-13 23:12:10 -08:00 committed by Gerrit - the friendly Code Review server
commit 2372052070
1 changed files with 1 additions and 0 deletions

View File

@ -2139,6 +2139,7 @@ static int write_data(struct stream_out *out, struct alsa_handle *handle,
/* TODO:disnable this if ms12 */
if (ret >= 0 && ret < (ssize_t)bytes) {
handle->cmd_pending = true;
send_offload_cmd_l(out, OFFLOAD_CMD_WAIT_FOR_BUFFER);
}
return ret;