Loading media/libaudiohal/impl/StreamHalAidl.cpp +2 −9 Original line number Diff line number Diff line Loading @@ -456,15 +456,8 @@ void StreamHalAidl::onAsyncDrainReady() { void StreamHalAidl::onAsyncError() { std::lock_guard l(mLock); if (mLastReply.state == StreamDescriptor::State::IDLE || mLastReply.state == StreamDescriptor::State::DRAINING || mLastReply.state == StreamDescriptor::State::TRANSFERRING) { ALOGW("%s: received in the state %s", __func__, toString(mLastReply.state).c_str()); mLastReply.state = StreamDescriptor::State::ERROR; ALOGW("%s: onError received", __func__); } else { ALOGW("%s: unexpected onError in the state %s", __func__, toString(mLastReply.state).c_str()); } } status_t StreamHalAidl::createMmapBuffer(int32_t minSizeFrames __unused, Loading Loading
media/libaudiohal/impl/StreamHalAidl.cpp +2 −9 Original line number Diff line number Diff line Loading @@ -456,15 +456,8 @@ void StreamHalAidl::onAsyncDrainReady() { void StreamHalAidl::onAsyncError() { std::lock_guard l(mLock); if (mLastReply.state == StreamDescriptor::State::IDLE || mLastReply.state == StreamDescriptor::State::DRAINING || mLastReply.state == StreamDescriptor::State::TRANSFERRING) { ALOGW("%s: received in the state %s", __func__, toString(mLastReply.state).c_str()); mLastReply.state = StreamDescriptor::State::ERROR; ALOGW("%s: onError received", __func__); } else { ALOGW("%s: unexpected onError in the state %s", __func__, toString(mLastReply.state).c_str()); } } status_t StreamHalAidl::createMmapBuffer(int32_t minSizeFrames __unused, Loading