Home
last modified time | relevance | path

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

/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dsynth.c108 uint64_t samples_to_do; member
220 n = lsx_parsesamples(0., p->length_str, &p->samples_to_do, 't'); in getopts()
332 if (lsx_parsesamples(effp->in_signal.rate, p->length_str, &p->samples_to_do, 't') == NULL) in start()
335 p->samples_to_do = effp->in_signal.length != SOX_UNKNOWN_LEN ? in start()
417 case Linear: chan->mult = p->samples_to_do? in start()
418 (chan->freq2 - chan->freq) / p->samples_to_do / 2 : 0; in start()
420 case Square: chan->mult = p->samples_to_do? in start()
421 sqrt(fabs(chan->freq2 - chan->freq)) / p->samples_to_do / sqrt(3.) : 0; in start()
425 case Exp: chan->mult = p->samples_to_do? in start()
426 log(chan->freq2 / chan->freq) / p->samples_to_do * effp->in_signal.rate : 1; in start()
[all …]