Home
last modified time | relevance | path

Searched refs:limiterthreshhold (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Ddcshift.c18 double limiterthreshhold; member
52 dcs->limiterthreshhold = SOX_SAMPLE_MAX * (1.0 - (fabs(dcs->dcshift) - dcs->limitergain)); in sox_dcshift_getopts()
83 double limiterthreshhold = dcs->limiterthreshhold; in sox_dcshift_flow() local
100 if (sample > limiterthreshhold && dcshift > 0) in sox_dcshift_flow()
102 …sample = (sample - limiterthreshhold) * limitergain / (SOX_SAMPLE_MAX - limiterthreshhold) + limi… in sox_dcshift_flow()
105 else if (sample < -limiterthreshhold && dcshift < 0) in sox_dcshift_flow()
110 …sample = (sample + limiterthreshhold) * limitergain / (SOX_SAMPLE_MAX - limiterthreshhold) - limi… in sox_dcshift_flow()
H A Dvol.c21 double limiterthreshhold; member
85 …vol->limiterthreshhold = SOX_SAMPLE_MAX * (1.0 - vol->limitergain) / (fabs(vol->gain) - vol->limit… in getopts()
115 register double limiterthreshhold = vol->limiterthreshhold; in flow() local
132 if (sample > limiterthreshhold) in flow()
137 else if (sample < -limiterthreshhold) in flow()