Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
platform_packages_modules_Bluetooth
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LMODroid
platform_packages_modules_Bluetooth
Commits
5b6d6f10
Commit
5b6d6f10
authored
6 years ago
by
Treehugger Robot
Committed by
Gerrit Code Review
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Add more Hearing Aid Profile logs"
parents
5436a1da
6c8dcc52
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
system/audio_a2dp_hw/src/audio_a2dp_hw.cc
+2
-0
2 additions, 0 deletions
system/audio_a2dp_hw/src/audio_a2dp_hw.cc
system/bta/hearing_aid/hearing_aid_audio_source.cc
+4
-3
4 additions, 3 deletions
system/bta/hearing_aid/hearing_aid_audio_source.cc
with
6 additions
and
3 deletions
system/audio_a2dp_hw/src/audio_a2dp_hw.cc
+
2
−
0
View file @
5b6d6f10
...
...
@@ -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
);
{
...
...
This diff is collapsed.
Click to expand it.
system/bta/hearing_aid/hearing_aid_audio_source.cc
+
4
−
3
View file @
5b6d6f10
...
...
@@ -132,7 +132,7 @@ void hearing_aid_recv_ctrl_data() {
return
;
}
V
LOG
(
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
)
{
...
...
@@ -248,8 +248,9 @@ 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
)
<<
" DONE"
;
LOG
(
INFO
)
<<
__func__
<<
" a2dp-ctrl-cmd : "
<<
audio_ha_hw_dump_ctrl_event
(
cmd
)
<<
" DONE"
;
}
void
hearing_aid_ctrl_cb
(
tUIPC_CH_ID
,
tUIPC_EVENT
event
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment