Lines Matching refs:nchannels
1317 int nchannels, int inrate, int outrate, PyObject *state, in audioop_ratecv_impl() argument
1329 if (nchannels < 1) { in audioop_ratecv_impl()
1334 if (width > INT_MAX / nchannels) { in audioop_ratecv_impl()
1342 bytes_per_frame = width * nchannels; in audioop_ratecv_impl()
1368 if ((size_t)nchannels > SIZE_MAX/sizeof(int)) { in audioop_ratecv_impl()
1373 prev_i = (int *) PyMem_Malloc(nchannels * sizeof(int)); in audioop_ratecv_impl()
1374 cur_i = (int *) PyMem_Malloc(nchannels * sizeof(int)); in audioop_ratecv_impl()
1384 for (chan = 0; chan < nchannels; chan++) in audioop_ratecv_impl()
1396 if (PyTuple_Size(samps) != nchannels) { in audioop_ratecv_impl()
1401 for (chan = 0; chan < nchannels; chan++) { in audioop_ratecv_impl()
1447 samps = PyTuple_New(nchannels); in audioop_ratecv_impl()
1450 for (chan = 0; chan < nchannels; chan++) in audioop_ratecv_impl()
1471 for (chan = 0; chan < nchannels; chan++) { in audioop_ratecv_impl()
1485 for (chan = 0; chan < nchannels; chan++) { in audioop_ratecv_impl()