tests/check/elements/audioresample.c: avoid implict int ot float conversion
authorJordan Petridis <jordan@centricular.com>
Mon, 3 Aug 2020 16:53:58 +0000 (19:53 +0300)
committerJordan Petridis <jordan@centricular.com>
Tue, 4 Aug 2020 14:32:31 +0000 (17:32 +0300)
commit66ff1eedcae40d763ed02fec3e3c313e19629cbf
tree61ef00bc1581b79df9799f4900459ef47c9b5bd9
parent31d683d59e4b48401b915c90588afa0fed20f029
tests/check/elements/audioresample.c: avoid implict int ot float conversion

Also use doubles instead so the calculation won't overflow

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/773>
tests/check/elements/audioresample.c