Lines Matching refs:bufdata
39 size_t bufdata; member
84 data->bufdata = 0; in sox_noiseprof_start()
121 size_t i, j, n = min(samp / chans, WINDOWSIZE - p->bufdata); in sox_noiseprof_flow()
131 chan->window[j + p->bufdata] = in sox_noiseprof_flow()
133 if (n + p->bufdata == WINDOWSIZE) in sox_noiseprof_flow()
137 p->bufdata += n; in sox_noiseprof_flow()
138 assert(p->bufdata <= WINDOWSIZE); in sox_noiseprof_flow()
139 if (p->bufdata == WINDOWSIZE) in sox_noiseprof_flow()
140 p->bufdata = 0; in sox_noiseprof_flow()
157 if (data->bufdata == 0) { in sox_noiseprof_drain()
163 for (j = data->bufdata+1; j < WINDOWSIZE; j ++) { in sox_noiseprof_drain()
169 if (data->bufdata == WINDOWSIZE || data->bufdata == 0) in sox_noiseprof_drain()