Home
last modified time | relevance | path

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

/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dechos.c53 double *delay_buf; member
147 echos->delay_buf = lsx_malloc(sizeof (double) * echos->sumsamples); in sox_echos_start()
149 echos->delay_buf[j] = 0.0; in sox_echos_start()
182 … d_out += echos->delay_buf[echos->counter[j] + echos->pointer[j]] * echos->decay[j]; in sox_echos_flow()
191 echos->delay_buf[echos->counter[j] + echos->pointer[j]] = d_in; in sox_echos_flow()
193 echos->delay_buf[echos->counter[j] + echos->pointer[j]] = in sox_echos_flow()
194 … echos->delay_buf[echos->counter[j-1] + echos->pointer[j-1]] + d_in; in sox_echos_flow()
222 … d_out += echos->delay_buf[echos->counter[j] + echos->pointer[j]] * echos->decay[j]; in sox_echos_drain()
231 echos->delay_buf[echos->counter[j] + echos->pointer[j]] = d_in; in sox_echos_drain()
233 echos->delay_buf[echos->counter[j] + echos->pointer[j]] = in sox_echos_drain()
[all …]
H A Decho.c57 double *delay_buf; member
148 echo->delay_buf = lsx_malloc(sizeof (double) * echo->maxsamples); in sox_echo_start()
150 echo->delay_buf[j] = 0.0; in sox_echo_start()
185 d_out += echo->delay_buf[ in sox_echo_flow()
194 echo->delay_buf[echo->counter] = d_in; in sox_echo_flow()
219 d_out += echo->delay_buf[ in sox_echo_drain()
228 echo->delay_buf[echo->counter] = d_in; in sox_echo_drain()
246 free(echo->delay_buf); in sox_echo_stop()
247 echo->delay_buf = NULL; in sox_echo_stop()
H A Dphaser.c55 double * delay_buf; member
99 p->delay_buf = lsx_calloc(p->delay_buf_len, sizeof(*p->delay_buf)); in start()
119 double d = *ibuf++ * p->in_gain + p->delay_buf[ in flow()
124 p->delay_buf[p->delay_pos] = d; in flow()
135 free(p->delay_buf); in stop()
H A Dcompand.c56 sox_sample_t *delay_buf; /* Old samples, used for delay processing */ member
162 l->delay_buf = lsx_calloc((size_t)l->delay_buf_size, sizeof(*l->delay_buf)); in start()
227 checkbuf = l->delay_buf[l->delay_buf_index] * level_out_lin; in flow()
236 l->delay_buf[l->delay_buf_index++] = ibuf[chan]; in flow()
258 obuf[done++] = l->delay_buf[l->delay_buf_index++] * level_out_lin; in drain()
270 free(l->delay_buf); in stop()
H A Dmcompand.c63 sox_sample_t *delay_buf; /* Old samples, used for delay processing */ member
107 l->delay_buf = NULL; in sox_mcompand_getopts_1()
249 l->delay_buf = lsx_calloc(sizeof(long), c->delay_buf_size); in start()
325 …checkbuf = l->delay_buf[(l->delay_buf_ptr + c->delay_buf_size - l->delay_size)%c->delay_buf_size] … in sox_mcompand_flow_1()
327 … l->delay_buf[(l->delay_buf_ptr + c->delay_buf_size - l->delay_size)%c->delay_buf_size] = checkbuf; in sox_mcompand_flow_1()
330 obuf[odone] = l->delay_buf[l->delay_buf_ptr]; in sox_mcompand_flow_1()
337 l->delay_buf[l->delay_buf_ptr++] = ibuf[chan]; in sox_mcompand_flow_1()
423 out = obuf[done] + l->delay_buf[l->delay_buf_ptr++]; in sox_mcompand_drain_1()
480 free(l->delay_buf); in stop()
/OK3568_Linux_fs/kernel/drivers/iio/common/ssp_sensors/
H A Dssp_dev.c75 ret = ssp_enable_sensor(data, i, data->delay_buf[i]); in ssp_sync_available_sensors()
205 return data->delay_buf[type]; in ssp_get_sensor_delay()
259 data->delay_buf[type] = delay; in ssp_enable_sensor()
296 data->delay_buf[type] = delay; in ssp_change_delay()
316 command = cpu_to_le32(data->delay_buf[type]); in ssp_disable_sensor()
528 data->delay_buf[i] = SSP_DEFAULT_POLLING_DELAY; in ssp_probe()
534 data->delay_buf[SSP_BIO_HRM_LIB] = 100; in ssp_probe()
H A Dssp.h204 u32 delay_buf[SSP_SENSOR_MAX]; member