Home
last modified time | relevance | path

Searched refs:aifc (Results 1 – 25 of 44) 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'))
135 class Aifc(aifc.Aifc_read):
140 with self.assertRaises(aifc.Error):
141 aifc.Aifc_read.__init__(a, non_aifc_file)
145 fout = aifc.open(io.BytesIO(), 'wb')
154 fout = self.fout = aifc.open(TESTFN, 'wb')
161 f = self.f = aifc.open(TESTFN, 'rb')
165 self.assertRaises(aifc.Error, f.getmark, 3)
[all …]
/external/python/cpython3/Lib/test/
Dtest_aifc.py9 import aifc
15 module = aifc
149 module = aifc
154 self.f = aifc.open(findfile('Sine-1000Hz-300ms.aif'))
159 with self.assertRaises(aifc.Error):
162 self.f = aifc.open(non_aifc_file, 'rb')
166 with mock.patch.object(aifc.Aifc_write, 'initfp',
169 self.fout = aifc.open(TESTFN, 'wb')
172 f = self.f = aifc.open(TESTFN, 'wb')
177 f = self.f = aifc.open(TESTFN, 'rb')
[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`
34 Module :mod:`aifc` defines the following function:
48 the :keyword:`!with` block completes, the :meth:`~aifc.close` method is called.
57 .. method:: aifc.getnchannels()
62 .. method:: aifc.getsampwidth()
67 .. method:: aifc.getframerate()
72 .. method:: aifc.getnframes()
77 .. method:: aifc.getcomptype()
[all …]
Dmm.rst15 aifc.rst
Dsndhdr.rst23 indicates the data type and will be one of the strings ``'aifc'``, ``'aiff'``,
Dsunau.rst15 :mod:`aifc` and :mod:`wave`.
187 The following two functions are defined for compatibility with the :mod:`aifc`,
Dwave.rst124 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
Dsndhdr.rst21 indicates the data type and will be one of the strings ``'aifc'``, ``'aiff'``,
Dsunau.rst14 :mod:`aifc` and :mod:`wave`.
183 The following two functions are defined for compatibility with the :mod:`aifc`,
Dwave.rst114 The following two methods are defined for compatibility with the :mod:`aifc`
/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/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')
/external/python/cpython3/Lib/
Dsndhdr.py76 import aifc
87 a = aifc.open(f, 'r')
88 except (EOFError, aifc.Error):
/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.gitattributes3 *.aifc binary
/external/python/cpython3/
D.gitattributes3 *.aifc binary
/external/python/cpython2/Misc/NEWS.d/
D2.7.6rc1.rst194 invocation of close() on sunau writer now has no effects. The aifc module
204 The aifc module now correctly reads and writes sampwidth of compressed
812 Fix a resource warning in Lib/aifc.py demo.
1047 modules: aifc, sunau and wave.
D2.6b3.rst370 while running under the ``-3`` flag: aifc, asynchat, asyncore, bdb, bsddb,
/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