From: Christopher N. Hesse Date: Sun, 2 Apr 2017 11:19:36 +0000 (+0200) Subject: audience: Warn when we cannot handle the output device X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=705246055aaf69f72c527a6fe5caa231ddf4b257;p=GitHub%2FLineageOS%2Fandroid_hardware_samsung.git audience: Warn when we cannot handle the output device Change-Id: I0cddd94f22c5e912436682d713a1ae441723cfee --- 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;