From 705246055aaf69f72c527a6fe5caa231ddf4b257 Mon Sep 17 00:00:00 2001 From: "Christopher N. Hesse" Date: Sun, 2 Apr 2017 13:19:36 +0200 Subject: [PATCH] audience: Warn when we cannot handle the output device Change-Id: I0cddd94f22c5e912436682d713a1ae441723cfee --- audio/audience.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.20.1