Lines Matching full:threshold
7 * until it sees a specified count of samples exceed a given threshold
10 * when it sees a specified count of samples below a given threshold
192 lsx_fail("silence threshold should be between 0.0 and 100.0 %%"); in sox_silence_getopts()
197 lsx_fail("silence threshold should be less than 0.0 dB"); in sox_silence_getopts()
212 lsx_fail("silence threshold should be between 0.0 and 100.0 %%"); in sox_silence_getopts()
217 lsx_fail("silence threshold should be less than 0.0 dB"); in sox_silence_getopts()
276 sox_sample_t value /* >= 0 */, double threshold, int unit) in aboveThreshold() argument
289 return scaled_value > threshold; in aboveThreshold()
326 int threshold; in sox_silence_flow() local
338 * sample that is above the specified threshold. Turns on in sox_silence_flow()
350 threshold = 0; in sox_silence_flow()
353 threshold |= aboveThreshold(effp, in sox_silence_flow()
359 if (threshold) in sox_silence_flow()
386 else /* !above Threshold */ in sox_silence_flow()
433 * above threshold. If found then flush out hold off buffer in sox_silence_flow()
438 * is above threshold. If found then copy directly in sox_silence_flow()
442 * If not above threshold then silence is detect so in sox_silence_flow()
471 threshold = 1; in sox_silence_flow()
474 threshold &= aboveThreshold(effp, in sox_silence_flow()
481 * If above threshold, check to see if we where holding in sox_silence_flow()
491 if (threshold && silence->stop_holdoff_end in sox_silence_flow()
498 else if (threshold) in sox_silence_flow()
510 else if (!threshold) in sox_silence_flow()
677 "[ -l ] above_periods [ duration threshold[d|%] ] [ below_periods duration threshold[d|%] ]",