Home
last modified time | relevance | path

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

/third_party/python/Lib/test/
Dtest_aifc.py9 import aifc
13 module = aifc
150 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 = aifc.open(TESTFN, 'rb')
186 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
Dsndhdr.rst23 indicates the data type and will be one of the strings ``'aifc'``, ``'aiff'``,
Dsunau.rst15 :mod:`aifc` and :mod:`wave`.
180 The following two functions are defined for compatibility with the :mod:`aifc`,
Dwave.rst117 The following two methods are defined for compatibility with the :mod:`aifc`
/third_party/ffmpeg/libavformat/
Daiffenc.c104 int i, aifc = 0; in aiff_write_header() local
127 aifc = 1; in aiff_write_header()
133 ffio_wfourcc(pb, aifc ? "AIFC" : "AIFF"); in aiff_write_header()
135 if (aifc) { // compressed audio in aiff_write_header()
159 avio_wb32(pb, aifc ? 24 : 18); /* size */ in aiff_write_header()
180 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.tpl132 …pcm_test_short ("short_sowt.aifc" , SF_ENDIAN_LITTLE | SF_FORMAT_AIFF | SF_FORMAT_PCM_16, SF_FALSE…
133 …pcm_test_24bit ("24bit_sowt.aifc" , SF_ENDIAN_LITTLE | SF_FORMAT_AIFF | SF_FORMAT_PCM_24, SF_FALSE…
134 pcm_test_int ("int_sowt.aifc" , SF_ENDIAN_LITTLE | SF_FORMAT_AIFF | SF_FORMAT_PCM_32, SF_FALSE) ;
136 pcm_test_short ("short_twos.aifc" , SF_ENDIAN_BIG | SF_FORMAT_AIFF | SF_FORMAT_PCM_16, SF_FALSE) ;
137 pcm_test_24bit ("24bit_twos.aifc" , SF_ENDIAN_BIG | SF_FORMAT_AIFF | SF_FORMAT_PCM_24, SF_FALSE) ;
138 pcm_test_int ("int_twos.aifc" , SF_ENDIAN_BIG | SF_FORMAT_AIFF | SF_FORMAT_PCM_32, SF_FALSE) ;
141 pcm_test_short ("dwvw16.aifc", SF_FORMAT_AIFF | SF_FORMAT_DWVW_16, SF_TRUE) ;
142 pcm_test_24bit ("dwvw24.aifc", SF_FORMAT_AIFF | SF_FORMAT_DWVW_24, SF_TRUE) ;
144 pcm_test_float ("float.aifc" , SF_FORMAT_AIFF | SF_FORMAT_FLOAT , SF_FALSE) ;
145 pcm_test_double ("double.aifc" , SF_FORMAT_AIFF | SF_FORMAT_DOUBLE, SF_FALSE) ;
/third_party/libsnd/
D.gitignore5 *.aifc
/third_party/python/
D.gitattributes3 *.aifc binary
/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.rst970 * ``aifc.openfp()`` alias to ``aifc.open()``, ``sunau.openfp()`` alias to
D3.7.rst1939 aifc section in Deprecated Python modules, functions and methods
1942 :func:`aifc.openfp` has been deprecated and will be removed in Python 3.9.
1943 Use :func:`aifc.open` instead.
D2.0.rst1034 :mod:`xmllib`, :mod:`aifc`, :mod:`chunk, wave`, :mod:`random`, :mod:`shelve`,
/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 …]
DNEWS4941 - bpo-37320: ``aifc.openfp()`` alias to ``aifc.open()``, ``sunau.openfp()``
9630 sample width when read an audio file in modules :mod:`aifc`, :mod:`wave`
11374 sample width when read an audio file in modules :mod:`aifc`, :mod:`wave`
12592 - bpo-31985: Formally deprecated aifc.openfp, sunau.openfp, and wave.openfp.
14321 - bpo-29110: Fix file object leak in aifc.open() when file is given as a
17389 - bpo-29110: Fix file object leak in aifc.open() when file is given as a
21119 - bpo-29110: Fix file object leak in aifc.open() when file is given as a