#include "sndfile.hh" #if __cplusplus < 201100 && defined(_MSC_VER) #undef nullptr #endif #include int main(int argc, char *argv[]) { if (argc < 2) { std::cout << "Usage: example \n"; return 0; } SndfileHandle handle(argv[1]); std::cout << "Sample rate: " << handle.samplerate() << "\n"; return 0; }