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
This commit is contained in:
parent
872308190d
commit
98c6cc4c4c
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user