summaryrefslogtreecommitdiff
path: root/os2eindopdracht/FilterWorker.h
blob: f5fdb6dd6633bee5e1fe7cc5fac35f23fec40e8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include "SampleBlock.h"
#include "Arguments.h"

class FilterWorker {
public:
	/** @brief set input and output sample block */
	FilterWorker(SampleBlock& input, SampleBlock& output);
	/** @brief apply filtering using bass and treble coefficients to output sample block */
	void filter(Coefficients bass, Coefficients treble);

private:
	SampleBlock* _input;
	SampleBlock* _output;
};