Lines Matching defs:cs
168 static void ictxReallocSamplesBuffer(SnifferInputCtx *pCtx, uint32_t cs)
170 uint32_t cbBuffer = cs * sizeof(st_sample_t);
188 static void ictxReallocRateBuffer(SnifferInputCtx *pCtx, uint32_t cs)
190 uint32_t cbBuffer = cs * sizeof(st_sample_t);
424 uint32_t cs = cbData / pCtx->cBytesPerFrame; /* How many samples. */
426 ictxReallocSamplesBuffer(pCtx, cs);
434 Assert(pCtx->cbSamplesBufferAllocated >= cs * sizeof(st_sample_t));
436 pCtx->conv(ps, pvData, cs, &nominal_volume);
441 uint32_t csConverted = (cs * pCtx->phw->info.freq) / pCtx->iFreq;
448 int csSrc = cs;
468 cbSamples = cs * sizeof(st_sample_t);