Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions source/cli/NFDriverCLI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
*/
#include <NFDriver/NFDriver.h>

#include <cstdlib>

#define _USE_MATH_DEFINES
#include <cmath>
#include <iostream>
Expand Down Expand Up @@ -86,8 +88,8 @@ int main(int argc, const char *argv[]) {
const std::string samplerate_string = "44100.0";
#else
if (argc < 2) {
std::cout << "Invalid number of arguments: ./NFDriver [samplerate]" << std::endl;
return 1;
std::cerr << "Invalid number of arguments: ./NFDriver [samplerate]" << std::endl;
std::exit(1);
}
const std::string samplerate_string = argv[1];
#endif
Expand Down