summaryrefslogtreecommitdiff
path: root/os2eindopdracht/Arguments.h
blob: c61d3a91dec24ee2c9b8dc62508024285fb7a51a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#pragma once

#include <string>

using std::string;

struct Coefficients {
  double b0;
  double b1;
  double b2;
  double a1;
  double a2;
};

class Arguments {
public:
  Arguments(int argc, char** argv);

public:
  unsigned int max_threads = 4;
  string file_input;
  string file_output;
  Coefficients bass;
  Coefficients treble;

private:
  void calculate_coefficients();

private:
  int gain_bass = 0;
  int gain_treble = 0;
};