Home
last modified time | relevance | path

Searched refs:SOX_SAMPLE_MIN (Results 1 – 14 of 14) sorted by relevance

/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dsox_sample_test.c28 assert(sample == SOX_SAMPLE_MIN); \
34 assert(sample > SOX_SAMPLE_MIN && sample < 0); \
85 assert(sample == SOX_SAMPLE_MIN); \
91 assert(sample > SOX_SAMPLE_MIN && sample < 0); \
171 assert(sample == SOX_SAMPLE_MIN && --clips == 0); in main()
175 assert(sample == SOX_SAMPLE_MIN && clips == 0); in main()
H A Dsox.h696 #define SOX_SAMPLE_MIN (sox_sample_t)SOX_INT_MIN(32) macro
876 sox_macro_temp_double <= SOX_SAMPLE_MIN - 0.5 ? \
877 ++(clips), SOX_SAMPLE_MIN : \
977 else if (samp < SOX_SAMPLE_MIN) \
978 { samp = SOX_SAMPLE_MIN; clips++; } \
990 ((d) < 0? (d) <= SOX_SAMPLE_MIN - 0.5? ++(clips), SOX_SAMPLE_MIN: (d) - 0.5 \
H A Dvol.c145 if (sample < SOX_SAMPLE_MIN) in flow()
146 sample = SOX_SAMPLE_MIN; in flow()
H A Dgain.c160 double this_peak = max(q->max / max, q->min / (double)SOX_SAMPLE_MIN); in start_drain()
173 double this_peak = max(q->max / max, q->min / (double)SOX_SAMPLE_MIN); in start_drain()
183 p->mult = min(max / p->max, (double)SOX_SAMPLE_MIN / p->min); in start_drain()
H A Dcontrast.c38 double d = *ibuf++ * (-M_PI_2 / SOX_SAMPLE_MIN); in flow()
H A Dcvsd-fmt.c68 p->sample = max(p->step_mult * p->sample - p->step, SOX_SAMPLE_MIN); in decode()
H A Ddither.h48 ++effp->clips, *obuf = SOX_SAMPLE_MIN; in NAME()
H A Dcompandt.c148 *value = -20 * log10(-(double)SOX_SAMPLE_MIN); in parse_transfer_value()
H A Dcompand.c176 double s = -samp / SOX_SAMPLE_MIN; in doVolume()
H A Ddither.c320 ++effp->clips, *obuf = SOX_SAMPLE_MIN; in flow_no_shape()
H A Dstats.c135 for (; result && (mask & SOX_SAMPLE_MIN); --result, mask <<= 1); in bit_depth()
H A Dvad.c133 p->spectrumWindow[i] = -2./ SOX_SAMPLE_MIN / sqrt((double)p->measureLen_ws); in start()
H A Deffects_i_dsp.c595 dest[i] = src[i] > 0? SOX_SAMPLE_MAX : SOX_SAMPLE_MIN; in rint_clip()
H A Dsox.c569 …double sample = *p * (-1. / SOX_SAMPLE_MIN) * (ws < z->ilen[i] && s < files[i]->ft->signal.channel… in combiner_drain()
1220 double const MAX = SOX_SAMPLE_MAX, MIN = SOX_SAMPLE_MIN; in vu()