Bug 782091 - Add multichannel Opus test files. r=derf

This doesn't do any verification of the output, just checks
that we load multichannel files and playback completes.

These are public-domain test files created by Tim and Monty
last year. They're not great audio quality, the idea is just
to verify correct speaker mapping.

http://people.xiph.org/~greg/opus_testvectors/opus_multichannel_examples/
This commit is contained in:
Ralph Giles 2013-05-01 14:15:57 -07:00
parent c51a7b61fd
commit 2dabc01f52
10 changed files with 18 additions and 0 deletions

View File

@ -242,6 +242,14 @@ MOCHITEST_FILES += \
small-shot.mp3 \
sound.ogg \
spacestorm-1000Hz-100ms.ogg \
test-1-mono.opus \
test-2-stereo.opus \
test-3-LCR.opus \
test-4-quad.opus \
test-5-5.0.opus \
test-6-5.1.opus \
test-7-6.1.opus \
test-8-7.1.opus \
video-overhang.ogg \
file_a4_tone.ogg \
detodos.opus \

View File

@ -154,6 +154,16 @@ var gPlayTests = [
// Opus data in an ogg container
{ name:"detodos.opus", type:"audio/ogg; codecs=opus", duration:2.9135 },
// Multichannel Opus in an ogg container
{ name:"test-1-mono.opus", type:"audio/ogg; codecs=opus", duration:1.044 },
{ name:"test-2-stereo.opus", type:"audio/ogg; codecs=opus", duration:2.925 },
{ name:"test-3-LCR.opus", type:"audio/ogg; codecs=opus", duration:4.214 },
{ name:"test-4-quad.opus", type:"audio/ogg; codecs=opus", duration:6.234 },
{ name:"test-5-5.0.opus", type:"audio/ogg; codecs=opus", duration:7.558 },
{ name:"test-6-5.1.opus", type:"audio/ogg; codecs=opus", duration:10.333 },
{ name:"test-7-6.1.opus", type:"audio/ogg; codecs=opus", duration:11.690 },
{ name:"test-8-7.1.opus", type:"audio/ogg; codecs=opus", duration:13.478 },
{ name:"gizmo.mp4", type:"video/mp4", duration:5.56 },
{ name:"small-shot.m4a", type:"audio/mp4", duration:0.29 },

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.