8000 gh-85525: Indicate supported sound header formats by nanjekyejoannah · Pull Request #21575 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-85525: Indicate supported sound header formats #21575

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 15, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
modify file names
  • Loading branch information
nanjekyejoannah committed Oct 15, 2022
commit 7514e4fdcf42bda75b4f94be0b851a4bad856d0e
17 changes: 9 additions & 8 deletions Doc/library/sndhdr.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,21 +63,20 @@ from :func:`whathdr`: and :func:`what`:
+------------+------------------------------------+
| ``'aiff'`` | Audio Interchange Files |
+------------+------------------------------------+
| ``'au'`` | AU Files |
| ``'au'`` | Au Files |
+------------+------------------------------------+
| ``'hcom'`` | HCOM Files |
+------------+------------------------------------+
| ``'sndr'`` | SNDR Files |
+------------+------------------------------------+
| ``'sndt'`` | SNDT Files |
| ``'sndt'`` | Sndtool Sound Files |
+------------+------------------------------------+
| ``'voc'`` | VOC Files |
| ``'voc'`` | Creative Labs Audio Files |
+------------+------------------------------------+
| ``'wav'`` | WAV Files |
| ``'wav'`` | Waveform Audio File Format Files |
+------------+------------------------------------+
| ``'8svx'`` | 8SVX Files |
| ``'8svx'`` | 8-Bit Sampled Voice Files |
+------------+------------------------------------+
| ``'sb'`` | SB Files |
| ``'sb'`` | Signed Byte Audio Data Files |
+------------+------------------------------------+
| ``'ub'`` | UB Files |
+------------+------------------------------------+
Expand All @@ -93,7 +92,9 @@ from :func:`whathdr`: and :func:`what`:
The test function should return a string describing the image type if the test
succeeded, or ``None`` if it failed.

Example::
Example:

.. code-block:: pycon

>>> import sndhdr
>>> imghdr.what('bass.wav')
Expand Down
0