/third_party/python/Lib/test/ |
D | test_aifc.py | 11 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 …]
|
D | mime.types | 1404 audio/x-aiff aif aiff aifc
|
/third_party/python/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` 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 …]
|
D | mm.rst | 15 aifc.rst
|
D | sunau.rst | 15 :mod:`aifc` and :mod:`wave`. 180 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 | 117 The following two methods are defined for compatibility with the :mod:`aifc`
|
/third_party/ffmpeg/libavformat/ |
D | aiffenc.c | 105 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/ |
D | sndhdr.py | 76 import aifc 87 a = aifc.open(f, 'r') 88 except (EOFError, aifc.Error):
|
D | aifc.py | 609 def aifc(self): member in Aifc_write
|
/third_party/libsnd/tests/ |
D | write_read_test.tpl | 134 …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 | .gitattributes | 3 *.aifc binary
|
/third_party/libsnd/ |
D | .gitignore | 5 *.aifc
|
/third_party/python/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`
|
D | 3.9.rst | 974 * ``aifc.openfp()`` alias to ``aifc.open()``, ``sunau.openfp()`` alias to
|
D | 3.7.rst | 1940 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.
|
D | 2.0.rst | 1034 :mod:`xmllib`, :mod:`aifc`, :mod:`chunk, wave`, :mod:`random`, :mod:`shelve`,
|
/third_party/python/Misc/NEWS.d/ |
D | 3.7.0b3.rst | 328 when read an audio file in modules :mod:`aifc`, :mod:`wave` and
|
D | 3.6.1rc1.rst | 319 Fix file object leak in aifc.open() when file is given as a filesystem path
|
D | 3.5.4rc1.rst | 787 Fix file object leak in aifc.open() when file is given as a filesystem path
|
D | 3.7.0a3.rst | 633 Formally deprecated aifc.openfp, sunau.openfp, and wave.openfp. Since change
|
D | 3.9.0a1.rst | 2933 ``aifc.openfp()`` alias to ``aifc.open()``, ``sunau.openfp()`` alias to
|
D | 3.7.0a1.rst | 3425 Fix file object leak in aifc.open() when file is given as a filesystem path
|
D | 3.8.0a1.rst | 5579 when read an audio file in modules :mod:`aifc`, :mod:`wave` and
|
/third_party/python/Misc/ |
D | HISTORY | 2981 - 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 …]
|