Home
last modified time | relevance | path

Searched refs:aifc (Results 1 – 25 of 33) sorted by relevance

12

/external/python/cpython2/Lib/test/
Dtest_aifc.py9 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/
Dtest_aifc.py9 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/
Daifc.rst1 :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 …]
Dmm.rst15 aifc.rst
Dsunau.rst15 :mod:`aifc` and :mod:`wave`.
185 The following two functions are defined for compatibility with the :mod:`aifc`,
Dsndhdr.rst23 indicates the data type and will be one of the strings ``'aifc'``, ``'aiff'``,
Dwave.rst122 The following two methods are defined for compatibility with the :mod:`aifc`
/external/python/cpython2/Doc/library/
Daifc.rst1 :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 …]
Dmm.rst17 aifc.rst
Dsunau.rst14 :mod:`aifc` and :mod:`wave`.
183 The following two functions are defined for compatibility with the :mod:`aifc`,
Dsndhdr.rst21 indicates the data type and will be one of the strings ``'aifc'``, ``'aiff'``,
Dwave.rst114 The following two methods are defined for compatibility with the :mod:`aifc`
/external/python/cpython2/Lib/
Dsndhdr.py59 import aifc
70 a = aifc.openfp(f, 'r')
71 except (EOFError, aifc.Error):
Daudiodev.py244 import aifc
245 af = aifc.open(fn, 'r')
Daifc.py608 def aifc(self): member in Aifc_write
/external/python/cpython2/Mac/Demo/sound/
Dplayaiff.py4 import aifc, audioop
7 af = aifc.open(fn, 'r')
Dmorse.py121 import aifc
122 dev = aifc.open(a, 'w')
/external/python/cpython3/Lib/
Dsndhdr.py76 import aifc
87 a = aifc.open(f, 'r')
88 except (EOFError, aifc.Error):
Daifc.py604 def aifc(self): member in Aifc_write
/external/python/cpython2/Demo/scripts/
Dmorse.py81 import aifc
82 dev = aifc.open(a, 'w')
/external/python/cpython2/Lib/plat-mac/
DAudio_mac.py105 import aifc
109 af = aifc.open(fn, 'r')
/external/python/cpython2/
D.hgeol13 **.aifc = BIN
/external/python/cpython3/
D.hgeol13 **.aifc = BIN
/external/python/cpython2/Misc/
Dmaintainers.rst58 aifc r.david.murray
/external/python/cpython3/Doc/whatsnew/
D3.4.rst605 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`

12