Loading hal/audio_hw.c +4 −1 Original line number Diff line number Diff line Loading @@ -3815,7 +3815,10 @@ exit: pthread_mutex_unlock(&adev->lock); in->standby = true; } if (!audio_extn_cin_attached_usecase(in->usecase)) { bytes_read = bytes; memset(buffer, 0, bytes); } in_standby(&in->stream.common); ALOGV("%s: read failed status %d- sleeping for buffer duration", __func__, ret); usleep((uint64_t)bytes * 1000000 / audio_stream_in_frame_size(stream) / Loading Loading
hal/audio_hw.c +4 −1 Original line number Diff line number Diff line Loading @@ -3815,7 +3815,10 @@ exit: pthread_mutex_unlock(&adev->lock); in->standby = true; } if (!audio_extn_cin_attached_usecase(in->usecase)) { bytes_read = bytes; memset(buffer, 0, bytes); } in_standby(&in->stream.common); ALOGV("%s: read failed status %d- sleeping for buffer duration", __func__, ret); usleep((uint64_t)bytes * 1000000 / audio_stream_in_frame_size(stream) / Loading