Searched refs:outrate (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython2/Modules/ |
D | audioop.c | 1097 int len, size, nchannels, inrate, outrate, weightA, weightB; in audioop_ratecv() local 1105 &nchannels, &inrate, &outrate, &state, in audioop_ratecv() 1132 if (inrate <= 0 || outrate <= 0) { in audioop_ratecv() 1137 d = gcd(inrate, outrate); in audioop_ratecv() 1139 outrate /= d; in audioop_ratecv() 1160 d = -outrate; in audioop_ratecv() 1205 if (outrate > INT_MAX / q / bytes_per_frame) in audioop_ratecv() 1209 q * outrate * bytes_per_frame); in audioop_ratecv() 1262 d += outrate; in audioop_ratecv() 1267 (double)cur_i[chan] * (double)(outrate - d)) / in audioop_ratecv() [all …]
|
/external/python/cpython2/Lib/ |
D | audiodev.py | 152 self.outrate = 0 166 self.outrate = rate 184 info.o_sample_rate = self.outrate
|
/external/python/cpython3/Modules/ |
D | audioop.c | 1295 int nchannels, int inrate, int outrate, PyObject *state, in audioop_ratecv_impl() argument 1330 if (inrate <= 0 || outrate <= 0) { in audioop_ratecv_impl() 1335 d = gcd(inrate, outrate); in audioop_ratecv_impl() 1337 outrate /= d; in audioop_ratecv_impl() 1358 d = -outrate; in audioop_ratecv_impl() 1405 if (outrate > PY_SSIZE_T_MAX / q / bytes_per_frame) in audioop_ratecv_impl() 1409 q * outrate * bytes_per_frame); in audioop_ratecv_impl() 1457 d += outrate; in audioop_ratecv_impl() 1462 (double)cur_i[chan] * (double)(outrate - d)) / in audioop_ratecv_impl() 1463 (double)outrate); in audioop_ratecv_impl()
|
/external/python/cpython2/Lib/plat-mac/ |
D | Audio_mac.py | 35 def setoutrate(self, outrate): argument 36 self._outrate = outrate
|
/external/python/cpython3/Modules/clinic/ |
D | audioop.c.h | 693 int nchannels, int inrate, int outrate, PyObject *state, 704 int outrate; in audioop_ratecv() local 710 &fragment, &width, &nchannels, &inrate, &outrate, &state, &weightA, &weightB)) { in audioop_ratecv() 713 …return_value = audioop_ratecv_impl(module, &fragment, width, nchannels, inrate, outrate, state, we… in audioop_ratecv()
|
/external/python/cpython2/Doc/library/ |
D | audioop.rst | 187 .. function:: ratecv(fragment, width, nchannels, inrate, outrate, state[, weightA[, weightB]])
|
/external/python/cpython3/Doc/library/ |
D | audioop.rst | 195 .. function:: ratecv(fragment, width, nchannels, inrate, outrate, state[, weightA[, weightB]])
|