summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher N. Hesse <raymanfx@gmail.com>2017-04-02 13:19:36 +0200
committerChristopher N. Hesse <raymanfx@gmail.com>2017-04-02 14:07:46 +0200
commit705246055aaf69f72c527a6fe5caa231ddf4b257 (patch)
tree684e04aa7be698ae00aac5ade3b44c67d802b759
parentf9b8e8397598e88a7d669e9cb673867a8cf92495 (diff)
downloadandroid_hardware_samsung-705246055aaf69f72c527a6fe5caa231ddf4b257.tar.gz
android_hardware_samsung-705246055aaf69f72c527a6fe5caa231ddf4b257.tar.bz2
android_hardware_samsung-705246055aaf69f72c527a6fe5caa231ddf4b257.zip
audience: Warn when we cannot handle the output device
Change-Id: I0cddd94f22c5e912436682d713a1ae441723cfee
-rw-r--r--audio/audience.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/audience.c b/audio/audience.c
index afd7fa2..2bf0d9b 100644
--- 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;