/external/python/cpython2/Lib/test/ |
D | test_aifc.py | 9 import aifc 14 module = aifc 130 self.f = aifc.open(findfile('Sine-1000Hz-300ms.aif')) 133 fout = aifc.open(io.BytesIO(), 'wb') 142 fout = self.fout = aifc.open(TESTFN, 'wb') 149 f = self.f = aifc.open(TESTFN, 'rb') 153 self.assertRaises(aifc.Error, f.getmark, 3) 161 getattr(aifc, '_write_' + what)(f, x) 163 return getattr(aifc, '_read_' + what)(f) 167 self.assertEqual(read_written(x, 'float'), aifc._HUGE_VAL) [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_aifc.py | 9 import aifc 14 module = aifc 151 self.f = aifc.open(findfile('Sine-1000Hz-300ms.aif')) 156 with self.assertRaises(aifc.Error): 159 self.f = aifc.open(non_aifc_file, 'rb') 163 with mock.patch.object(aifc.Aifc_write, 'initfp', 166 self.fout = aifc.open(TESTFN, 'wb') 169 f = self.f = aifc.open(TESTFN, 'wb') 174 f = self.f = aifc.open(TESTFN, 'rb') 185 fout = aifc.open(io.BytesIO(), 'wb') [all …]
|
/external/python/cpython3/Doc/library/ |
D | aifc.rst | 1 :mod:`aifc` --- Read and write AIFF and AIFC files 4 .. module:: aifc 7 **Source code:** :source:`Lib/aifc.py` 40 Module :mod:`aifc` defines the following function: 54 the :keyword:`with` block completes, the :meth:`~aifc.close` method is called. 63 .. method:: aifc.getnchannels() 68 .. method:: aifc.getsampwidth() 73 .. method:: aifc.getframerate() 78 .. method:: aifc.getnframes() 83 .. method:: aifc.getcomptype() [all …]
|
D | mm.rst | 15 aifc.rst
|
D | sunau.rst | 15 :mod:`aifc` and :mod:`wave`. 185 The following two functions are defined for compatibility with the :mod:`aifc`,
|
D | sndhdr.rst | 23 indicates the data type and will be one of the strings ``'aifc'``, ``'aiff'``,
|
D | wave.rst | 122 The following two methods are defined for compatibility with the :mod:`aifc`
|
/external/python/cpython2/Doc/library/ |
D | aifc.rst | 1 :mod:`aifc` --- Read and write AIFF and AIFC files 4 .. module:: aifc 13 **Source code:** :source:`Lib/aifc.py` 41 Module :mod:`aifc` defines the following function: 59 .. method:: aifc.getnchannels() 64 .. method:: aifc.getsampwidth() 69 .. method:: aifc.getframerate() 74 .. method:: aifc.getnframes() 79 .. method:: aifc.getcomptype() 85 .. method:: aifc.getcompname() [all …]
|
D | mm.rst | 17 aifc.rst
|
D | sunau.rst | 14 :mod:`aifc` and :mod:`wave`. 183 The following two functions are defined for compatibility with the :mod:`aifc`,
|
D | sndhdr.rst | 21 indicates the data type and will be one of the strings ``'aifc'``, ``'aiff'``,
|
D | wave.rst | 114 The following two methods are defined for compatibility with the :mod:`aifc`
|
/external/python/cpython2/Lib/ |
D | sndhdr.py | 59 import aifc 70 a = aifc.openfp(f, 'r') 71 except (EOFError, aifc.Error):
|
D | audiodev.py | 244 import aifc 245 af = aifc.open(fn, 'r')
|
D | aifc.py | 608 def aifc(self): member in Aifc_write
|
/external/python/cpython2/Mac/Demo/sound/ |
D | playaiff.py | 4 import aifc, audioop 7 af = aifc.open(fn, 'r')
|
D | morse.py | 121 import aifc 122 dev = aifc.open(a, 'w')
|
/external/python/cpython3/Lib/ |
D | sndhdr.py | 76 import aifc 87 a = aifc.open(f, 'r') 88 except (EOFError, aifc.Error):
|
D | aifc.py | 604 def aifc(self): member in Aifc_write
|
/external/python/cpython2/Demo/scripts/ |
D | morse.py | 81 import aifc 82 dev = aifc.open(a, 'w')
|
/external/python/cpython2/Lib/plat-mac/ |
D | Audio_mac.py | 105 import aifc 109 af = aifc.open(fn, 'r')
|
/external/python/cpython2/ |
D | .hgeol | 13 **.aifc = BIN
|
/external/python/cpython3/ |
D | .hgeol | 13 **.aifc = BIN
|
/external/python/cpython2/Misc/ |
D | maintainers.rst | 58 aifc r.david.murray
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.4.rst | 605 aifc section in Improved Modules 608 The :meth:`~aifc.aifc.getparams` method now returns a namedtuple rather than a 611 :func:`aifc.open` now supports the context management protocol: when used in a 612 :keyword:`with` block, the :meth:`~aifc.aifc.close` method of the returned 616 The :meth:`~aifc.aifc.writeframesraw` and :meth:`~aifc.aifc.writeframes`
|