audience: Warn when we cannot handle the output device

Change-Id: I0cddd94f22c5e912436682d713a1ae441723cfee
tirimbino
Christopher N. Hesse 8 years ago
parent f9b8e83975
commit 705246055a
  1. 2
      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;

Loading…
Cancel
Save