diff options
author | Dheeraj CVR <cvr.dheeraj@gmail.com> | 2014-08-04 05:55:14 +0530 |
---|---|---|
committer | forkbomb <keepcalm444@gmail.com> | 2015-11-25 08:07:32 +1100 |
commit | 76cf1a7dac84a931f6006a7a8d99e60d56183633 (patch) | |
tree | afdb61446566e7b31499bccf524267a5da65ae93 /audio/audio_hw.c | |
parent | 2778a86eb13bf85b0818dcaf75fccb6a0846d12f (diff) | |
download | device_samsung_i9300-76cf1a7dac84a931f6006a7a8d99e60d56183633.zip device_samsung_i9300-76cf1a7dac84a931f6006a7a8d99e60d56183633.tar.gz device_samsung_i9300-76cf1a7dac84a931f6006a7a8d99e60d56183633.tar.bz2 |
audio: make builtin mic and back mic volumes consistent
Change-Id: I25cab57acb84a14200006e832a43676ff3c8b9d0
Diffstat (limited to 'audio/audio_hw.c')
-rw-r--r-- | audio/audio_hw.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/audio/audio_hw.c b/audio/audio_hw.c index e32acf0..d32596b 100644 --- a/audio/audio_hw.c +++ b/audio/audio_hw.c @@ -88,7 +88,6 @@ struct m0_audio_device { struct m0_dev_cfg *dev_cfgs; int num_dev_cfgs; struct mixer *mixer; - struct mixer_ctls mixer_ctls; audio_mode_t mode; int active_out_device; int out_device; @@ -3020,10 +3019,6 @@ static int adev_open(const hw_module_t* module, const char* name, return -EINVAL; } - /* +30db boost for mics */ - adev->mixer_ctls.mixinl_in1l_volume = mixer_get_ctl_by_name(adev->mixer, "MIXINL IN1L Volume"); - adev->mixer_ctls.mixinl_in2l_volume = mixer_get_ctl_by_name(adev->mixer, "MIXINL IN2L Volume"); - ret = adev_config_parse(adev); if (ret != 0) goto err_mixer; |