diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-07-13 23:04:56 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-07-13 23:04:56 (GMT) |
commit | e9ebde48cf5d7892794eacaeba683b308ce5a94b (patch) | |
tree | 7ca9edd545aaaf2cf36cad4fd1aa5c0ff3955538 /Lib/test/sndhdrdata | |
parent | 903396ee660679340e47f68d0da7b78d30c43480 (diff) | |
download | cpython-e9ebde48cf5d7892794eacaeba683b308ce5a94b.zip cpython-e9ebde48cf5d7892794eacaeba683b308ce5a94b.tar.gz cpython-e9ebde48cf5d7892794eacaeba683b308ce5a94b.tar.bz2 |
Issue #9243: Fix sndhdr module and add unit tests, contributed by James Lee.
Diffstat (limited to 'Lib/test/sndhdrdata')
-rw-r--r-- | Lib/test/sndhdrdata/README | 12 | ||||
-rw-r--r-- | Lib/test/sndhdrdata/sndhdr.8svx | bin | 0 -> 110 bytes | |||
-rw-r--r-- | Lib/test/sndhdrdata/sndhdr.aifc | bin | 0 -> 106 bytes | |||
-rw-r--r-- | Lib/test/sndhdrdata/sndhdr.aiff | bin | 0 -> 108 bytes | |||
-rw-r--r-- | Lib/test/sndhdrdata/sndhdr.au | bin | 0 -> 64 bytes | |||
-rw-r--r-- | Lib/test/sndhdrdata/sndhdr.hcom | bin | 0 -> 256 bytes | |||
-rw-r--r-- | Lib/test/sndhdrdata/sndhdr.sndt | bin | 0 -> 129 bytes | |||
-rw-r--r-- | Lib/test/sndhdrdata/sndhdr.voc | bin | 0 -> 63 bytes | |||
-rw-r--r-- | Lib/test/sndhdrdata/sndhdr.wav | bin | 0 -> 64 bytes |
9 files changed, 12 insertions, 0 deletions
diff --git a/Lib/test/sndhdrdata/README b/Lib/test/sndhdrdata/README new file mode 100644 index 0000000..8a17c00 --- /dev/null +++ b/Lib/test/sndhdrdata/README @@ -0,0 +1,12 @@ +Sound file samples used by Lib/test/test_sndhdr.py and generated using the +following commands: + + dd if=/dev/zero of=sndhdr.raw bs=20 count=1 + sox -s -2 -c 2 -r 44100 sndhdr.raw sndhdr.<format> + +Sound file samples used by Lib/test/test_sndhdr.py and generated using the +following commands: + + dd if=/dev/zero of=sndhdr.raw bs=20 count=1 + sox -s -2 -c 2 -r 44100 sndhdr.raw sndhdr.<format> + diff --git a/Lib/test/sndhdrdata/sndhdr.8svx b/Lib/test/sndhdrdata/sndhdr.8svx Binary files differnew file mode 100644 index 0000000..8cd6cde --- /dev/null +++ b/Lib/test/sndhdrdata/sndhdr.8svx diff --git a/Lib/test/sndhdrdata/sndhdr.aifc b/Lib/test/sndhdrdata/sndhdr.aifc Binary files differnew file mode 100644 index 0000000..8aae4e7 --- /dev/null +++ b/Lib/test/sndhdrdata/sndhdr.aifc diff --git a/Lib/test/sndhdrdata/sndhdr.aiff b/Lib/test/sndhdrdata/sndhdr.aiff Binary files differnew file mode 100644 index 0000000..8c279a7 --- /dev/null +++ b/Lib/test/sndhdrdata/sndhdr.aiff diff --git a/Lib/test/sndhdrdata/sndhdr.au b/Lib/test/sndhdrdata/sndhdr.au Binary files differnew file mode 100644 index 0000000..67c9e8f --- /dev/null +++ b/Lib/test/sndhdrdata/sndhdr.au diff --git a/Lib/test/sndhdrdata/sndhdr.hcom b/Lib/test/sndhdrdata/sndhdr.hcom Binary files differnew file mode 100644 index 0000000..debb02d --- /dev/null +++ b/Lib/test/sndhdrdata/sndhdr.hcom diff --git a/Lib/test/sndhdrdata/sndhdr.sndt b/Lib/test/sndhdrdata/sndhdr.sndt Binary files differnew file mode 100644 index 0000000..e1ca9cb --- /dev/null +++ b/Lib/test/sndhdrdata/sndhdr.sndt diff --git a/Lib/test/sndhdrdata/sndhdr.voc b/Lib/test/sndhdrdata/sndhdr.voc Binary files differnew file mode 100644 index 0000000..53a91fd --- /dev/null +++ b/Lib/test/sndhdrdata/sndhdr.voc diff --git a/Lib/test/sndhdrdata/sndhdr.wav b/Lib/test/sndhdrdata/sndhdr.wav Binary files differnew file mode 100644 index 0000000..0dca367 --- /dev/null +++ b/Lib/test/sndhdrdata/sndhdr.wav |