projects
/
GitHub
/
LineageOS
/
android_hardware_samsung.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9b8e83
)
audience: Warn when we cannot handle the output device
author
Christopher N. Hesse
<raymanfx@gmail.com>
Sun, 2 Apr 2017 11:19:36 +0000
(13:19 +0200)
committer
Christopher N. Hesse
<raymanfx@gmail.com>
Sun, 2 Apr 2017 12:07:46 +0000
(14:07 +0200)
Change-Id: I0cddd94f22c5e912436682d713a1ae441723cfee
audio/audience.c
patch
|
blob
|
blame
|
history
diff --git
a/audio/audience.c
b/audio/audience.c
index afd7fa27f4531b545485ffad03ada504d986564f..2bf0d9b9c89d75839fc4076967edf3351f766f6f 100644
(file)
--- a/
audio/audience.c
+++ b/
audio/audience.c
@@
-125,6
+125,8
@@
static long es_device_to_route(struct voice_session *session)
break;
default:
/* if output device isn't supported, use earpiece by default */
+ ALOGE("%s: unknown output device: %d, defaulting to earpiece", __func__,
+ session->out_device);
nb_route = Call_CT_NB;
wb_route = Call_CT_WB;
break;