commit | 4cc4ce1a92a47fa1d98c884a33e5e93d3d468b15 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Wed Sep 10 13:21:01 2014 -0500 |
committer | Vineeta Srivastava <vsrivastava@google.com> | Thu Sep 11 20:59:56 2014 +0000 |
tree | b0764bc2a448b31551efd50fe909fa3f87f3b05c | |
parent | 1b0d8ce4ec97a57b38a401dbd1e16ac5cf4c4671 [diff] [blame] |
hal: pass voice volumes to ext speaker driver Bug: 17203285 Change-Id: I1b9bdc3a49fa162ac85b7b1c1b8de027a20983d2
diff --git a/hal/audio_hw.c b/hal/audio_hw.c index 9908b81..c5a4e88 100644 --- a/hal/audio_hw.c +++ b/hal/audio_hw.c
@@ -2249,6 +2249,8 @@ int ret; struct audio_device *adev = (struct audio_device *)dev; + audio_extn_extspk_set_voice_vol(adev->extspk, volume); + pthread_mutex_lock(&adev->lock); ret = voice_set_volume(adev, volume); pthread_mutex_unlock(&adev->lock);