Home
last modified time | relevance | path

Searched refs:tomono (Results 1 – 25 of 61) sorted by relevance

123

/dports/devel/kdev-python/kdev-python-21.12.3/documentation_files/
H A Daudioop.py76 def tomono(): function
/dports/databases/py-sqlite3/Python-3.8.12/Lib/test/
H A Dtest_audioop.py426 self.assertEqual(audioop.tomono(data2, w, 1, 0), data1)
427 self.assertEqual(audioop.tomono(data2, w, 0, 1), b'\0' * len(data1))
430 self.assertEqual(audioop.tomono(data2, w, 0.5, 0.5), data1)
431 self.assertEqual(audioop.tomono(bytearray(data2), w, 0.5, 0.5),
433 self.assertEqual(audioop.tomono(memoryview(data2), w, 0.5, 0.5),
522 self.assertRaises(audioop.error, audioop.tomono, data, size, 0.5, 0.5)
545 self.assertRaises(TypeError, audioop.tomono, data, size, 0.5, 0.5)
/dports/databases/py-gdbm/Python-3.8.12/Lib/test/
H A Dtest_audioop.py426 self.assertEqual(audioop.tomono(data2, w, 1, 0), data1)
427 self.assertEqual(audioop.tomono(data2, w, 0, 1), b'\0' * len(data1))
430 self.assertEqual(audioop.tomono(data2, w, 0.5, 0.5), data1)
431 self.assertEqual(audioop.tomono(bytearray(data2), w, 0.5, 0.5),
433 self.assertEqual(audioop.tomono(memoryview(data2), w, 0.5, 0.5),
522 self.assertRaises(audioop.error, audioop.tomono, data, size, 0.5, 0.5)
545 self.assertRaises(TypeError, audioop.tomono, data, size, 0.5, 0.5)
/dports/lang/python37/Python-3.7.12/Lib/test/
H A Dtest_audioop.py426 self.assertEqual(audioop.tomono(data2, w, 1, 0), data1)
427 self.assertEqual(audioop.tomono(data2, w, 0, 1), b'\0' * len(data1))
430 self.assertEqual(audioop.tomono(data2, w, 0.5, 0.5), data1)
431 self.assertEqual(audioop.tomono(bytearray(data2), w, 0.5, 0.5),
433 self.assertEqual(audioop.tomono(memoryview(data2), w, 0.5, 0.5),
522 self.assertRaises(audioop.error, audioop.tomono, data, size, 0.5, 0.5)
545 self.assertRaises(TypeError, audioop.tomono, data, size, 0.5, 0.5)
/dports/lang/python310/Python-3.10.1/Lib/test/
H A Dtest_audioop.py426 self.assertEqual(audioop.tomono(data2, w, 1, 0), data1)
427 self.assertEqual(audioop.tomono(data2, w, 0, 1), b'\0' * len(data1))
430 self.assertEqual(audioop.tomono(data2, w, 0.5, 0.5), data1)
431 self.assertEqual(audioop.tomono(bytearray(data2), w, 0.5, 0.5),
433 self.assertEqual(audioop.tomono(memoryview(data2), w, 0.5, 0.5),
522 self.assertRaises(audioop.error, audioop.tomono, data, size, 0.5, 0.5)
545 self.assertRaises(TypeError, audioop.tomono, data, size, 0.5, 0.5)
/dports/lang/python-tools/Python-3.8.12/Lib/test/
H A Dtest_audioop.py426 self.assertEqual(audioop.tomono(data2, w, 1, 0), data1)
427 self.assertEqual(audioop.tomono(data2, w, 0, 1), b'\0' * len(data1))
430 self.assertEqual(audioop.tomono(data2, w, 0.5, 0.5), data1)
431 self.assertEqual(audioop.tomono(bytearray(data2), w, 0.5, 0.5),
433 self.assertEqual(audioop.tomono(memoryview(data2), w, 0.5, 0.5),
522 self.assertRaises(audioop.error, audioop.tomono, data, size, 0.5, 0.5)
545 self.assertRaises(TypeError, audioop.tomono, data, size, 0.5, 0.5)
/dports/lang/python38/Python-3.8.12/Lib/test/
H A Dtest_audioop.py426 self.assertEqual(audioop.tomono(data2, w, 1, 0), data1)
427 self.assertEqual(audioop.tomono(data2, w, 0, 1), b'\0' * len(data1))
430 self.assertEqual(audioop.tomono(data2, w, 0.5, 0.5), data1)
431 self.assertEqual(audioop.tomono(bytearray(data2), w, 0.5, 0.5),
433 self.assertEqual(audioop.tomono(memoryview(data2), w, 0.5, 0.5),
522 self.assertRaises(audioop.error, audioop.tomono, data, size, 0.5, 0.5)
545 self.assertRaises(TypeError, audioop.tomono, data, size, 0.5, 0.5)
/dports/lang/python311/Python-3.11.0a3/Lib/test/
H A Dtest_audioop.py426 self.assertEqual(audioop.tomono(data2, w, 1, 0), data1)
427 self.assertEqual(audioop.tomono(data2, w, 0, 1), b'\0' * len(data1))
430 self.assertEqual(audioop.tomono(data2, w, 0.5, 0.5), data1)
431 self.assertEqual(audioop.tomono(bytearray(data2), w, 0.5, 0.5),
433 self.assertEqual(audioop.tomono(memoryview(data2), w, 0.5, 0.5),
522 self.assertRaises(audioop.error, audioop.tomono, data, size, 0.5, 0.5)
545 self.assertRaises(TypeError, audioop.tomono, data, size, 0.5, 0.5)
/dports/lang/python39/Python-3.9.9/Lib/test/
H A Dtest_audioop.py426 self.assertEqual(audioop.tomono(data2, w, 1, 0), data1)
427 self.assertEqual(audioop.tomono(data2, w, 0, 1), b'\0' * len(data1))
430 self.assertEqual(audioop.tomono(data2, w, 0.5, 0.5), data1)
431 self.assertEqual(audioop.tomono(bytearray(data2), w, 0.5, 0.5),
433 self.assertEqual(audioop.tomono(memoryview(data2), w, 0.5, 0.5),
522 self.assertRaises(audioop.error, audioop.tomono, data, size, 0.5, 0.5)
545 self.assertRaises(TypeError, audioop.tomono, data, size, 0.5, 0.5)
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Lib/test/
H A Dtest_audioop.py426 self.assertEqual(audioop.tomono(data2, w, 1, 0), data1)
427 self.assertEqual(audioop.tomono(data2, w, 0, 1), b'\0' * len(data1))
430 self.assertEqual(audioop.tomono(data2, w, 0.5, 0.5), data1)
431 self.assertEqual(audioop.tomono(bytearray(data2), w, 0.5, 0.5),
433 self.assertEqual(audioop.tomono(memoryview(data2), w, 0.5, 0.5),
522 self.assertRaises(audioop.error, audioop.tomono, data, size, 0.5, 0.5)
545 self.assertRaises(TypeError, audioop.tomono, data, size, 0.5, 0.5)
/dports/lang/python27/Python-2.7.18/Lib/test/
H A Dtest_audioop.py344 self.assertEqual(audioop.tomono(str(data2), w, 1, 0), data1)
345 self.assertEqual(audioop.tomono(str(data2), w, 0, 1), b'\0' * len(data1))
348 self.assertEqual(audioop.tomono(str(data2), w, 0.5, 0.5), data1)
404 self.assertRaises(audioop.error, audioop.tomono, data, size, 0.5, 0.5)
/dports/lang/python-legacy/Python-2.7.18/Lib/test/
H A Dtest_audioop.py344 self.assertEqual(audioop.tomono(str(data2), w, 1, 0), data1)
345 self.assertEqual(audioop.tomono(str(data2), w, 0, 1), b'\0' * len(data1))
348 self.assertEqual(audioop.tomono(str(data2), w, 0.5, 0.5), data1)
404 self.assertRaises(audioop.error, audioop.tomono, data, size, 0.5, 0.5)
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A Dtest_audioop.py147 self.assertEqual(audioop.tomono(data2, 1, 0.5, 0.5), data[0])
188 self.assertRaises(audioop.error, audioop.tomono, data, size, 0.5, 0.5)
/dports/devel/py-aiortc/aiortc-1.2.1/src/aiortc/codecs/
H A Dg711.py67 data = audioop.tomono(data, SAMPLE_WIDTH, 1, 1)
/dports/devel/pytype/pytype-2021.9.9/pytype/typeshed/stdlib/@python2/
H A Daudioop.pyi40 def tomono(__fragment: bytes, __width: int, __lfactor: float, __rfactor: float) -> bytes: ...
/dports/devel/pytype/pytype-2021.9.9/pytype/typeshed/stdlib/
H A Daudioop.pyi40 def tomono(__fragment: bytes, __width: int, __lfactor: float, __rfactor: float) -> bytes: ...
/dports/devel/pycharm-pro/pycharm-2020.2.3/plugins/python/helpers/typeshed/stdlib/2and3/
H A Daudioop.pyi40 def tomono(__fragment: bytes, __width: int, __lfactor: float, __rfactor: float) -> bytes: ...
/dports/devel/py-jedi/jedi-0.18.0/jedi/third_party/typeshed/stdlib/2and3/
H A Daudioop.pyi40 def tomono(fragment: bytes, width: int, lfactor: float, rfactor: float) -> bytes: ...
/dports/devel/py-mypy/mypy-0.910/mypy/typeshed/stdlib/
H A Daudioop.pyi40 def tomono(__fragment: bytes, __width: int, __lfactor: float, __rfactor: float) -> bytes: ...
/dports/databases/py-gdbm/Python-3.8.12/Doc/library/
H A Daudioop.rst219 .. function:: tomono(fragment, width, lfactor, rfactor)
245 lsample = audioop.tomono(sample, width, 1, 0)
246 rsample = audioop.tomono(sample, width, 0, 1)
/dports/databases/py-sqlite3/Python-3.8.12/Doc/library/
H A Daudioop.rst219 .. function:: tomono(fragment, width, lfactor, rfactor)
245 lsample = audioop.tomono(sample, width, 1, 0)
246 rsample = audioop.tomono(sample, width, 0, 1)
/dports/lang/python310/Python-3.10.1/Doc/library/
H A Daudioop.rst219 .. function:: tomono(fragment, width, lfactor, rfactor)
245 lsample = audioop.tomono(sample, width, 1, 0)
246 rsample = audioop.tomono(sample, width, 0, 1)
/dports/lang/python38/Python-3.8.12/Doc/library/
H A Daudioop.rst219 .. function:: tomono(fragment, width, lfactor, rfactor)
245 lsample = audioop.tomono(sample, width, 1, 0)
246 rsample = audioop.tomono(sample, width, 0, 1)
/dports/lang/python37/Python-3.7.12/Doc/library/
H A Daudioop.rst219 .. function:: tomono(fragment, width, lfactor, rfactor)
245 lsample = audioop.tomono(sample, width, 1, 0)
246 rsample = audioop.tomono(sample, width, 0, 1)
/dports/lang/python311/Python-3.11.0a3/Doc/library/
H A Daudioop.rst219 .. function:: tomono(fragment, width, lfactor, rfactor)
245 lsample = audioop.tomono(sample, width, 1, 0)
246 rsample = audioop.tomono(sample, width, 0, 1)

123