Loading system/audio_a2dp_hw/src/audio_a2dp_hw.cc +2 −0 Original line number Diff line number Diff line Loading @@ -1680,6 +1680,8 @@ static void adev_close_output_stream(struct audio_hw_device* dev, struct a2dp_audio_device* a2dp_dev = (struct a2dp_audio_device*)dev; struct a2dp_stream_out* out = (struct a2dp_stream_out*)stream; INFO("%s: state %d", __func__, out->common.state); // prevent interference with adev_set_parameters. std::lock_guard<std::recursive_mutex> lock(*a2dp_dev->mutex); { Loading system/bta/hearing_aid/hearing_aid_audio_source.cc +4 −3 Original line number Diff line number Diff line Loading @@ -132,7 +132,7 @@ void hearing_aid_recv_ctrl_data() { return; } VLOG(2) << __func__ << " " << audio_ha_hw_dump_ctrl_event(cmd); LOG(INFO) << __func__ << " " << audio_ha_hw_dump_ctrl_event(cmd); // a2dp_cmd_pending = cmd; switch (cmd) { Loading Loading @@ -248,7 +248,8 @@ void hearing_aid_recv_ctrl_data() { hearing_aid_send_ack(HEARING_AID_CTRL_ACK_FAILURE); break; } VLOG(2) << __func__ << " a2dp-ctrl-cmd : " << audio_ha_hw_dump_ctrl_event(cmd) LOG(INFO) << __func__ << " a2dp-ctrl-cmd : " << audio_ha_hw_dump_ctrl_event(cmd) << " DONE"; } Loading Loading
system/audio_a2dp_hw/src/audio_a2dp_hw.cc +2 −0 Original line number Diff line number Diff line Loading @@ -1680,6 +1680,8 @@ static void adev_close_output_stream(struct audio_hw_device* dev, struct a2dp_audio_device* a2dp_dev = (struct a2dp_audio_device*)dev; struct a2dp_stream_out* out = (struct a2dp_stream_out*)stream; INFO("%s: state %d", __func__, out->common.state); // prevent interference with adev_set_parameters. std::lock_guard<std::recursive_mutex> lock(*a2dp_dev->mutex); { Loading
system/bta/hearing_aid/hearing_aid_audio_source.cc +4 −3 Original line number Diff line number Diff line Loading @@ -132,7 +132,7 @@ void hearing_aid_recv_ctrl_data() { return; } VLOG(2) << __func__ << " " << audio_ha_hw_dump_ctrl_event(cmd); LOG(INFO) << __func__ << " " << audio_ha_hw_dump_ctrl_event(cmd); // a2dp_cmd_pending = cmd; switch (cmd) { Loading Loading @@ -248,7 +248,8 @@ void hearing_aid_recv_ctrl_data() { hearing_aid_send_ack(HEARING_AID_CTRL_ACK_FAILURE); break; } VLOG(2) << __func__ << " a2dp-ctrl-cmd : " << audio_ha_hw_dump_ctrl_event(cmd) LOG(INFO) << __func__ << " a2dp-ctrl-cmd : " << audio_ha_hw_dump_ctrl_event(cmd) << " DONE"; } Loading