Lines Matching full:samples
26 typedef struct { /* These are measured as samples */
50 uint64_t samples; in sox_fade_getopts() local
78 n = lsx_parsesamples(0., fade->in_stop_str, &samples, 't'); in sox_fade_getopts()
82 fade->in_stop = samples; in sox_fade_getopts()
96 fade->out_stop = samples; in sox_fade_getopts()
103 n = lsx_parsesamples(0., fade->out_start_str, &samples, 't'); in sox_fade_getopts()
106 fade->out_start = samples; in sox_fade_getopts()
121 uint64_t samples; in sox_fade_start() local
125 /* converting time values to samples */ in sox_fade_start()
128 &samples, 't') == NULL) in sox_fade_start()
131 fade->in_stop = samples; in sox_fade_start()
138 &samples, (uint64_t)0, in_length, '=') || in sox_fade_start()
139 samples == SOX_UNKNOWN_LEN) { in sox_fade_start()
143 fade->out_stop = samples; in sox_fade_start()
159 &samples, 't') == NULL) in sox_fade_start()
162 fade->out_start = fade->out_stop - samples; in sox_fade_start()
204 * Processed signed long samples from ibuf to obuf.
205 * Return number of samples processed.
211 /* len is total samples, chcnt counts channels */ in sox_fade_flow()
276 /* If not more samples will be returned, let application know in sox_fade_flow()
286 * Drain out remaining samples if the effect generates any.
327 * Do anything required when you stop reading samples.