Zebediah Figura : quartz/tests: Add a test WAVE file.
Alexandre Julliard
julliard at winehq.org
Mon Mar 4 15:08:24 CST 2019
Module: wine
Branch: master
Commit: dc8cb0c370ea24ca68b8ed8b27679250f628c7ea
URL: https://source.winehq.org/git/wine.git/?a=commit;h=dc8cb0c370ea24ca68b8ed8b27679250f628c7ea
Author: Zebediah Figura <z.figura12 at gmail.com>
Date: Sun Mar 3 20:11:48 2019 -0600
quartz/tests: Add a test WAVE file.
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/quartz/tests/filtergraph.c | 2 ++
dlls/quartz/tests/rsrc.rc | 4 ++++
dlls/quartz/tests/test.wav | Bin 0 -> 4488 bytes
3 files changed, 6 insertions(+)
diff --git a/dlls/quartz/tests/filtergraph.c b/dlls/quartz/tests/filtergraph.c
index 88d964c..f0e4b58 100644
--- a/dlls/quartz/tests/filtergraph.c
+++ b/dlls/quartz/tests/filtergraph.c
@@ -42,6 +42,7 @@ typedef struct TestFilterImpl
static const WCHAR avifile[] = {'t','e','s','t','.','a','v','i',0};
static const WCHAR mpegfile[] = {'t','e','s','t','.','m','p','g',0};
static const WCHAR mp3file[] = {'t','e','s','t','.','m','p','3',0};
+static const WCHAR wavefile[] = {'t','e','s','t','.','w','a','v',0};
static WCHAR *load_resource(const WCHAR *name)
{
@@ -3215,6 +3216,7 @@ START_TEST(filtergraph)
test_render_run(avifile, FALSE, TRUE);
test_render_run(mpegfile, TRUE, TRUE);
test_render_run(mp3file, TRUE, FALSE);
+ test_render_run(wavefile, TRUE, FALSE);
test_enum_filters();
test_graph_builder_render();
test_graph_builder_connect();
diff --git a/dlls/quartz/tests/rsrc.rc b/dlls/quartz/tests/rsrc.rc
index 282cb1f..660ad47 100644
--- a/dlls/quartz/tests/rsrc.rc
+++ b/dlls/quartz/tests/rsrc.rc
@@ -31,3 +31,7 @@ test.mpg RCDATA "test.mpg"
/* ffmpeg -f lavfi -i "sine=frequency=500" -t 0.5 -ar 48000 -b:a 32k -f mp3 -acodec mp3 test.mp3 */
/* @makedep: test.mp3 */
test.mp3 RCDATA "test.mp3"
+
+/* ffmpeg -f lavfi -i "sine=frequency=600" -t 0.1 -ar 44100 -f wav -acodec pcm_u8 test.wav */
+/* @makedep: test.wav */
+test.wav RCDATA "test.wav"
diff --git a/dlls/quartz/tests/test.wav b/dlls/quartz/tests/test.wav
new file mode 100644
index 0000000..51d2393
Binary files /dev/null and b/dlls/quartz/tests/test.wav differ
More information about the wine-cvs
mailing list