diff options
author | Christian Neumüller <cn00@gmx.at> | 2014-08-01 18:59:49 +0200 |
---|---|---|
committer | Christian Neumüller <cn00@gmx.at> | 2014-08-01 19:04:37 +0200 |
commit | 98c6cc4c4c7b021a214ee97b6229f94922340fc2 (patch) | |
tree | 18da2ad97c96bd3736e192b6c37de3361d6ef14a | |
parent | 872308190d37ddccac69b8e077ebc6d1555e2560 (diff) | |
download | device_samsung_galaxys2-common-98c6cc4c4c7b021a214ee97b6229f94922340fc2.zip device_samsung_galaxys2-common-98c6cc4c4c7b021a214ee97b6229f94922340fc2.tar.gz device_samsung_galaxys2-common-98c6cc4c4c7b021a214ee97b6229f94922340fc2.tar.bz2 |
Disable digital noise gate (fixes CYAN-4506).
This fixes CYAN-4505 (Sound cuts out at low volume) [1].
One might think that the digital noise gate (DNG) is better left enabled to
reduce the static noise but in my tests, only the "payload" audio was cut off,
while the static continued. For me it seems that this feature of the sound chip
was not intended for use in a smartphone.
[1]: https://jira.cyanogenmod.org/browse/CYAN-4506.
Change-Id: I4e41c594695f85574ed35e2aef59d6b768403606
-rw-r--r-- | yamaha-mc1n2-audio/device/galaxys2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/yamaha-mc1n2-audio/device/galaxys2.c b/yamaha-mc1n2-audio/device/galaxys2.c index 9bd2c43..371ce83 100644 --- a/yamaha-mc1n2-audio/device/galaxys2.c +++ b/yamaha-mc1n2-audio/device/galaxys2.c @@ -240,21 +240,21 @@ struct yamaha_mc1n2_audio_params_init galaxys2_params_init = { }, .dng_info = { - .abOnOff[MCDRV_DNG_ITEM_HP] = MCDRV_DNG_ON, + .abOnOff[MCDRV_DNG_ITEM_HP] = MCDRV_DNG_OFF, .abThreshold[MCDRV_DNG_ITEM_HP] = MCDRV_DNG_THRES_60, .abHold[MCDRV_DNG_ITEM_HP] = MCDRV_DNG_HOLD_500, .abAttack[MCDRV_DNG_ITEM_HP] = MCDRV_DNG_ATTACK_100, .abRelease[MCDRV_DNG_ITEM_HP] = MCDRV_DNG_RELEASE_940, .abTarget[MCDRV_DNG_ITEM_HP] = MCDRV_DNG_TARGET_MUTE, - .abOnOff[MCDRV_DNG_ITEM_SP] = MCDRV_DNG_ON, + .abOnOff[MCDRV_DNG_ITEM_SP] = MCDRV_DNG_OFF, .abThreshold[MCDRV_DNG_ITEM_SP] = MCDRV_DNG_THRES_60, .abHold[MCDRV_DNG_ITEM_SP] = MCDRV_DNG_HOLD_500, .abAttack[MCDRV_DNG_ITEM_SP] = MCDRV_DNG_ATTACK_100, .abRelease[MCDRV_DNG_ITEM_SP] = MCDRV_DNG_RELEASE_940, .abTarget[MCDRV_DNG_ITEM_SP] = MCDRV_DNG_TARGET_MUTE, - .abOnOff[MCDRV_DNG_ITEM_RC] = MCDRV_DNG_ON, + .abOnOff[MCDRV_DNG_ITEM_RC] = MCDRV_DNG_OFF, .abThreshold[MCDRV_DNG_ITEM_RC] = MCDRV_DNG_THRES_60, .abHold[MCDRV_DNG_ITEM_RC] = MCDRV_DNG_HOLD_500, .abAttack[MCDRV_DNG_ITEM_RC] = MCDRV_DNG_ATTACK_100, |