Skip to content

Commit

Permalink
Filter
Browse files Browse the repository at this point in the history
  • Loading branch information
pschatzmann committed Feb 8, 2022
1 parent 96dbae2 commit 9ec6da4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AudioTools/Filter.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Filter {
// construct without coefs
Filter() = default;
virtual ~Filter() = default;
virtual float process(float in) = 0;
virtual T process(T in) = 0;
};

/**
Expand All @@ -27,7 +27,7 @@ class NoFilter : Filter<T> {
public:
// construct without coefs
NoFilter() = default;
virtual float process(float in){return in;}
virtual T process(T in){return in;}
};

/**
Expand Down

0 comments on commit 9ec6da4

Please sign in to comment.