#include <Nsound/Wavefile.h>
#include <iostream>
Go to the source code of this file.
|  | 
| int | main (int argc, char **argv) | 
|  | 
      
        
          | int main | ( | int | argc, | 
        
          |  |  | char ** | argv | 
        
          |  | ) |  |  | 
      
 
Definition at line 39 of file ns_readwaveheader.cc.
References Nsound::Wavefile::readHeader().
   45          << 
"usage: readHeader [wave]" 
   51   std::string filename(argv[1]);
 
   56       cout << info << 
"SUCCESS" << endl;
 
   60       cout << info << 
"FAILURE" << endl;
 
static boolean readHeader(const std::string &filename, std::string &info)
Reads the basic header information and sets the info string.