Files
miniaudio/tests
David Reid 163286be2c Add support for configuring the Q parameter of biquad based filters.
This is in preparation for improving ma_lpf, ma_hpf and ma_bpf to make
them proper Butterworth filters.
2020-02-28 20:48:50 +10:00
..
2020-02-22 14:33:53 +10:00
2018-03-18 21:37:07 +10:00
2018-03-25 13:57:42 +10:00
2020-02-22 16:47:42 +10:00
2020-02-09 14:54:58 +10:00
2019-03-06 21:01:51 +10:00
2019-03-06 20:55:51 +10:00

Building

Build and run these test from this folder. Example:

clear && ./ma_build_tests_linux && ./bin/ma_test_0

These tests load resources from hard coded paths which point to the "res" folder. These paths are based on the assumption that the current directory is where the build files are located.

Emscripten

On Windows, you need to move into this directory and run emsdk_env.bat from a command prompt using an absolute path like "C:\emsdk\emsdk_env.bat". Note that PowerShell doesn't work for me for some reason. Then, run the relevant batch file:

ma_build_tests_emscripten.bat

The output will be placed in the bin folder. If you have output WASM it may not work when running the web page locally. To test you can run with something like this:

emrun bin/ma_test_0_emscripten.html