Searched refs:SOX_SAMPLE_MAX (Results 1 – 15 of 15) sorted by relevance
| /OK3568_Linux_fs/buildroot/dl/sox/git/src/ |
| H A D | dcshift.c | 52 dcs->limiterthreshhold = SOX_SAMPLE_MAX * (1.0 - (fabs(dcs->dcshift) - dcs->limitergain)); in sox_dcshift_getopts() 102 …sample = (sample - limiterthreshhold) * limitergain / (SOX_SAMPLE_MAX - limiterthreshhold) + limi… in sox_dcshift_flow() 110 …sample = (sample + limiterthreshhold) * limitergain / (SOX_SAMPLE_MAX - limiterthreshhold) - limi… in sox_dcshift_flow() 118 sample = dcshift * SOX_SAMPLE_MAX + sample; in sox_dcshift_flow() 126 double d = dcshift * (SOX_SAMPLE_MAX + 1.) + *ibuf++; in sox_dcshift_flow()
|
| H A D | vol.c | 85 …vol->limiterthreshhold = SOX_SAMPLE_MAX * (1.0 - vol->limitergain) / (fabs(vol->gain) - vol->limit… in getopts() 134 sample = (SOX_SAMPLE_MAX - vol->limitergain * (SOX_SAMPLE_MAX - sample)); in flow() 139 sample = -(SOX_SAMPLE_MAX - vol->limitergain * (SOX_SAMPLE_MAX + sample)); in flow()
|
| H A D | sox_sample_test.c | 60 assert(sample > 0 && sample < SOX_SAMPLE_MAX); \ 78 sample = SOX_SAMPLE_MAX; \ 119 assert(sample > 0 && sample < SOX_SAMPLE_MAX); \ 137 sample = SOX_SAMPLE_MAX; \ 181 assert(sample == SOX_SAMPLE_MAX && clips == 0); in main() 187 assert(sample == SOX_SAMPLE_MAX && --clips == 0); in main()
|
| H A D | sox.h | 690 #define SOX_SAMPLE_MAX (sox_sample_t)SOX_INT_MAX(32) macro 759 sox_macro_temp_sample > SOX_SAMPLE_MAX - (1 << (31-bits)) ? \ 874 sox_macro_temp_double = (d) * (SOX_SAMPLE_MAX + 1.0), \ 879 sox_macro_temp_double >= SOX_SAMPLE_MAX + 0.5 ? \ 880 sox_macro_temp_double > SOX_SAMPLE_MAX + 1.0 ? \ 881 ++(clips), SOX_SAMPLE_MAX : \ 882 SOX_SAMPLE_MAX : \ 956 #define SOX_SAMPLE_TO_FLOAT_32BIT(d,clips) ((d)*(1.0 / (SOX_SAMPLE_MAX + 1.0))) 964 #define SOX_SAMPLE_TO_FLOAT_64BIT(d,clips) ((d)*(1.0 / (SOX_SAMPLE_MAX + 1.0))) 975 if (samp > SOX_SAMPLE_MAX) \ [all …]
|
| H A D | cvsd-fmt.c | 52 p->step_add = (1 - p->step_mult) * (.1 * SOX_SAMPLE_MAX); in start() 66 p->sample = min(p->step_mult * p->sample + p->step, SOX_SAMPLE_MAX); in decode()
|
| H A D | stat.c | 47 stat->scale = SOX_SAMPLE_MAX; in sox_stat_getopts() 262 fprintf(stderr, "%.3f\n", SOX_SAMPLE_MAX/(amp*scale)); in sox_stat_stop() 289 fprintf(stderr, "Volume adjustment: %12.3f\n", SOX_SAMPLE_MAX/(amp*scale)); in sox_stat_stop()
|
| H A D | contrast.c | 39 *obuf++ = sin(d + p->contrast * sin(d * 4)) * SOX_SAMPLE_MAX; in flow()
|
| H A D | dither.c | 409 *effp->in_signal.mult *= (SOX_SAMPLE_MAX - (1 << (31 - p->prec)) * in start() 410 (2 * mult + 1)) / (SOX_SAMPLE_MAX - (1 << (31 - p->prec))); in start()
|
| H A D | gain.c | 94 p->limiter = (1 - 1 / p->fixed_gain) * (1. / SOX_SAMPLE_MAX); in start() 148 double max = SOX_SAMPLE_MAX, max_peak = 0, max_rms = 0; in start_drain()
|
| H A D | cvsd.c | 348 *buf++ = (oval * ((float)SOX_SAMPLE_MAX)); in lsx_cvsdread() 382 ((float)SOX_SAMPLE_MAX); in lsx_cvsdwrite()
|
| H A D | synth.c | 630 case synth_create: synth_out *= SOX_SAMPLE_MAX; break; in flow() 631 case synth_mix : synth_out = (synth_out * SOX_SAMPLE_MAX + synth_input) * .5; break; in flow()
|
| H A D | vorbis.c | 359 / ((float) SOX_SAMPLE_MAX); in write_samples()
|
| H A D | silence.c | 282 double scaled_value = (double)masked_value / SOX_SAMPLE_MAX; in aboveThreshold()
|
| H A D | effects_i_dsp.c | 595 dest[i] = src[i] > 0? SOX_SAMPLE_MAX : SOX_SAMPLE_MIN; in rint_clip()
|
| H A D | sox.c | 621 *effp->in_signal.mult *= 1 - (1 << (31 - prec)) * (1. / SOX_SAMPLE_MAX); in ostart() 1220 double const MAX = SOX_SAMPLE_MAX, MIN = SOX_SAMPLE_MIN; in vu()
|