mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
#5024: whichhdr now returns the frame count for WAV files.
Patch by Ned Jackson Lovely based on a suggestion by Robert Pyle.
This commit is contained in:
parent
052ddb01b3
commit
1a48b9dd7d
4 changed files with 13 additions and 6 deletions
|
@ -12,7 +12,7 @@ class TestFormats(unittest.TestCase):
|
|||
('sndhdr.hcom', ('hcom', 22050.0, 1, -1, 8)),
|
||||
('sndhdr.sndt', ('sndt', 44100, 1, 5, 8)),
|
||||
('sndhdr.voc', ('voc', 0, 1, -1, 8)),
|
||||
('sndhdr.wav', ('wav', 44100, 2, -1, 16)),
|
||||
('sndhdr.wav', ('wav', 44100, 2, 5, 16)),
|
||||
):
|
||||
filename = findfile(filename, subdir="sndhdrdata")
|
||||
what = sndhdr.what(filename)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue