Add second order peaking EQ filter.

This API is called ma_peak.
This commit is contained in:
David Reid
2020-02-23 19:52:01 +10:00
parent b4e024a481
commit 825cd23ae8
2 changed files with 170 additions and 1 deletions
+8
View File
@@ -26,6 +26,7 @@ ma_result filtering_init_decoder_and_encoder(const char* pInputFilePath, const c
#include "ma_test_filtering_lpf.c"
#include "ma_test_filtering_hpf.c"
#include "ma_test_filtering_bpf.c"
#include "ma_test_filtering_peak.c"
int main(int argc, char** argv)
{
@@ -36,6 +37,7 @@ int main(int argc, char** argv)
(void)argc;
(void)argv;
#if 0
result = ma_register_test("Dithering", test_entry__dithering);
if (result != MA_SUCCESS) {
hasError = MA_TRUE;
@@ -55,6 +57,12 @@ int main(int argc, char** argv)
if (result != MA_SUCCESS) {
hasError = MA_TRUE;
}
#endif
result = ma_register_test("Peaking EQ Filtering", test_entry__peak);
if (result != MA_SUCCESS) {
hasError = MA_TRUE;
}
for (iTest = 0; iTest < g_Tests.count; iTest += 1) {
printf("=== BEGIN %s ===\n", g_Tests.pTests[iTest].pName);