#pragma once #include using std::string; /** @brief wrapper for magic numbers */ struct Coefficients { double b0; double b1; double b2; double a1; double a2; }; class Arguments { public: /** @brief parse arguments using getopt */ Arguments(int argc, char** argv); public: unsigned int max_threads = 4; string file_input; string file_output; Coefficients bass; Coefficients treble; private: /** @brief calculate magic coefficients using bass and treble gain value */ void calculate_coefficients(); private: int gain_bass = 0; int gain_treble = 0; };