Home
last modified time | relevance | path

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

/third_party/python/Lib/test/
Dtest_aifc.py11 import aifc
15 module = aifc
152 f = aifc.open(findfile('Sine-1000Hz-300ms.aif'))
158 with self.assertRaises(aifc.Error):
161 self.f = aifc.open(non_aifc_file, 'rb')
165 with mock.patch.object(aifc.Aifc_write, 'initfp',
168 self.fout = aifc.open(TESTFN, 'wb')
171 f = self.f = aifc.open(TESTFN, 'wb')
176 f = aifc.open(TESTFN, 'rb')
188 fout = aifc.open(io.BytesIO(), 'wb')
[all …]
Dmime.types1404 audio/x-aiff aif aiff aifc
/third_party/python/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
Dsunau.rst15 :mod:`aifc` and :mod:`wave`.
180 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.rst117 The following two methods are defined for compatibility with the :mod:`aifc`
/third_party/ffmpeg/libavformat/
Daiffenc.c105 int i, aifc = 0; in aiff_write_header() local
128 aifc = 1; in aiff_write_header()
134 ffio_wfourcc(pb, aifc ? "AIFC" : "AIFF"); in aiff_write_header()
136 if (aifc) { // compressed audio in aiff_write_header()
160 avio_wb32(pb, aifc ? 24 : 18); /* size */ in aiff_write_header()
181 if (aifc) { in aiff_write_header()
/third_party/python/Lib/
Dsndhdr.py76 import aifc
87 a = aifc.open(f, 'r')
88 except (EOFError, aifc.Error):
Daifc.py609 def aifc(self): member in Aifc_write
/third_party/libsnd/tests/
Dwrite_read_test.tpl134 …pcm_test_short ("short_sowt.aifc" , SF_ENDIAN_LITTLE | SF_FORMAT_AIFF | SF_FORMAT_PCM_16, SF_FALSE…
135 …pcm_test_24bit ("24bit_sowt.aifc" , SF_ENDIAN_LITTLE | SF_FORMAT_AIFF | SF_FORMAT_PCM_24, SF_FALSE…
136 pcm_test_int ("int_sowt.aifc" , SF_ENDIAN_LITTLE | SF_FORMAT_AIFF | SF_FORMAT_PCM_32, SF_FALSE) ;
138 pcm_test_short ("short_twos.aifc" , SF_ENDIAN_BIG | SF_FORMAT_AIFF | SF_FORMAT_PCM_16, SF_FALSE) ;
139 pcm_test_24bit ("24bit_twos.aifc" , SF_ENDIAN_BIG | SF_FORMAT_AIFF | SF_FORMAT_PCM_24, SF_FALSE) ;
140 pcm_test_int ("int_twos.aifc" , SF_ENDIAN_BIG | SF_FORMAT_AIFF | SF_FORMAT_PCM_32, SF_FALSE) ;
143 pcm_test_short ("dwvw16.aifc", SF_FORMAT_AIFF | SF_FORMAT_DWVW_16, SF_TRUE) ;
144 pcm_test_24bit ("dwvw24.aifc", SF_FORMAT_AIFF | SF_FORMAT_DWVW_24, SF_TRUE) ;
146 pcm_test_float ("float.aifc" , SF_FORMAT_AIFF | SF_FORMAT_FLOAT , SF_FALSE) ;
147 pcm_test_double ("double.aifc" , SF_FORMAT_AIFF | SF_FORMAT_DOUBLE, SF_FALSE) ;
/third_party/python/
D.gitattributes3 *.aifc binary
/third_party/libsnd/
D.gitignore5 *.aifc
/third_party/python/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`
D3.9.rst974 * ``aifc.openfp()`` alias to ``aifc.open()``, ``sunau.openfp()`` alias to
D3.7.rst1940 aifc section in Deprecated Python modules, functions and methods
1943 :func:`aifc.openfp` has been deprecated and will be removed in Python 3.9.
1944 Use :func:`aifc.open` instead.
D2.0.rst1034 :mod:`xmllib`, :mod:`aifc`, :mod:`chunk, wave`, :mod:`random`, :mod:`shelve`,
/third_party/python/Misc/NEWS.d/
D3.7.0b3.rst328 when read an audio file in modules :mod:`aifc`, :mod:`wave` and
D3.6.1rc1.rst319 Fix file object leak in aifc.open() when file is given as a filesystem path
D3.5.4rc1.rst787 Fix file object leak in aifc.open() when file is given as a filesystem path
D3.7.0a3.rst633 Formally deprecated aifc.openfp, sunau.openfp, and wave.openfp. Since change
D3.9.0a1.rst2933 ``aifc.openfp()`` alias to ``aifc.open()``, ``sunau.openfp()`` alias to
D3.7.0a1.rst3425 Fix file object leak in aifc.open() when file is given as a filesystem path
D3.8.0a1.rst5579 when read an audio file in modules :mod:`aifc`, :mod:`wave` and
/third_party/python/Misc/
DHISTORY2981 - Issue #19623: Fixed writing to unseekable files in the aifc module.
3392 - Issue #8311: Added support for writing any bytes-like objects in the aifc,
3796 - Issue #19131: The aifc module now correctly reads and writes sampwidth of
3878 - Issue #18919: Unified and extended tests for audio modules: aifc, sunau and
4756 - Issue #17818: aifc.getparams now returns a namedtuple.
5527 - Issue #16486: Make aifc files act as context managers.
5530 on closing an aifc file.
6423 - Issue #18817: Fix a resource warning in Lib/aifc.py demo. Patch by
8129 - Issue #13394: the aifc module now uses warnings.warn() to signal warnings.
8864 - Issue #13589: Fix some serialization primitives in the aifc module.
[all …]