Loading media/libaudiohal/impl/StreamHalAidl.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -445,6 +445,11 @@ status_t StreamHalAidl::resume(StreamDescriptor::Reply* reply) { state == StreamDescriptor::State::TRANSFER_PAUSED || state == StreamDescriptor::State::DRAIN_PAUSED) { return sendCommand(makeHalCommand<HalCommand::Tag::start>(), reply); } else if (state == StreamDescriptor::State::ACTIVE || state == StreamDescriptor::State::TRANSFERRING || state == StreamDescriptor::State::DRAINING) { ALOGD("%s: already in stream state: %s", __func__, toString(state).c_str()); return OK; } else { ALOGE("%s: unexpected stream state: %s (expected IDLE or one of *PAUSED states)", __func__, toString(state).c_str()); Loading Loading
media/libaudiohal/impl/StreamHalAidl.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -445,6 +445,11 @@ status_t StreamHalAidl::resume(StreamDescriptor::Reply* reply) { state == StreamDescriptor::State::TRANSFER_PAUSED || state == StreamDescriptor::State::DRAIN_PAUSED) { return sendCommand(makeHalCommand<HalCommand::Tag::start>(), reply); } else if (state == StreamDescriptor::State::ACTIVE || state == StreamDescriptor::State::TRANSFERRING || state == StreamDescriptor::State::DRAINING) { ALOGD("%s: already in stream state: %s", __func__, toString(state).c_str()); return OK; } else { ALOGE("%s: unexpected stream state: %s (expected IDLE or one of *PAUSED states)", __func__, toString(state).c_str()); Loading