Module: wine Branch: master Commit: 77c25c86af8b61fc825f32257ff51292c0c6e775 URL: https://source.winehq.org/git/wine.git/?a=commit;h=77c25c86af8b61fc825f32257...
Author: Rémi Bernon rbernon@codeweavers.com Date: Thu Apr 28 12:24:37 2022 +0200
mf/tests: Use real audio data for WMA encoder / decoder tests.
Instead of silent data. This shows some difference in the FFmpeg decoded data, with the data delayed by half a buffer, explaining the additional data we decode.
The audiodata.bin resource has been generated with:
gst-launch-1.0 audiomixer name=mix ! \ audio/x-raw,format=F32LE,rate=22050,channels=2 ! \ filesink location=dlls/winegstreamer/tests/audiodata.bin \ audiotestsrc freq=400 volume=0.2 num-buffers=1 \ samplesperbuffer=22050 ! mix. \ audiotestsrc freq=600 volume=0.2 num-buffers=1 \ samplesperbuffer=22050 timestamp-offset=20000000 ! mix.
Signed-off-by: Rémi Bernon rbernon@codeweavers.com Signed-off-by: Nikolay Sivov nsivov@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/mf/tests/audiodata.bin | Bin 0 -> 179928 bytes dlls/mf/tests/mf.c | 177 ++++++++++++++++++++++++++++--------------- dlls/mf/tests/resource.rc | 10 ++- dlls/mf/tests/wmadata.bin | Bin 49071 -> 0 bytes dlls/mf/tests/wmadecdata.bin | Bin 0 -> 28672 bytes dlls/mf/tests/wmaencdata.bin | Bin 0 -> 4461 bytes 6 files changed, 124 insertions(+), 63 deletions(-)
Diff: https://source.winehq.org/git/wine.git/?a=commitdiff;h=77c25c86af8b61fc825f3...