mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-21 15:56:58 +02:00
Add second order peaking EQ filter.
This API is called ma_peak.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user