From c08700e1f806359a053c958d5cd56ef84d752519 Mon Sep 17 00:00:00 2001 From: Chris Date: Fri, 21 Jul 2023 13:38:15 +0200 Subject: [PATCH] fixed order --- filter/ynotch.h | 2 +- filter/ysvf.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/filter/ynotch.h b/filter/ynotch.h index 1af0475..23db0de 100644 --- a/filter/ynotch.h +++ b/filter/ynotch.h @@ -4,8 +4,8 @@ #include #include -template namespace trnr { +template // Notch filter based on YNotch by Chris Johnson class ynotch { public: diff --git a/filter/ysvf.h b/filter/ysvf.h index 717e8f8..a4a18bd 100644 --- a/filter/ysvf.h +++ b/filter/ysvf.h @@ -5,7 +5,6 @@ #include "ynotch.h" namespace trnr { -template enum filter_types { lowpass = 0, @@ -14,6 +13,7 @@ enum filter_types { notch }; +template class ysvf { public: ysvf(double _samplerate)