main
6f8fc97 ยท 1 month ago 10 commits
 1#include <fstream>
 2
 3#include "audioProcessor.hpp"
 4
 5int main(int argc, char* argv[]) {
 6    if (argc < 3) {
 7        std::cerr << "Usage: " << argv[0] << " <input_file> <output_file>" << std::endl;
 8        return 1;
 9    }
10
11    std::string inputFile = argv[1];
12    std::string outputFile = argv[2];
13
14    AudioProcessor audioProcessor(inputFile, outputFile);
15    audioProcessor.processWithCustomResampler();
16    // audioProcessor.processWithCustomResampler(16000);
17    // audioProcessor.processWithFFmpeg();
18
19    return 0;
20}