![]() |
VVSDK
1.0
The VVAmbisonic Library
|
#include <WavFile.h>
Public Member Functions | |
| WavFile (std::string fileName) | |
| WavFile (char *fileName) | |
| ~WavFile () | |
| bool | error () |
| int | samplerate () |
| int | frames () |
| int | channels () |
| void * | dataPtr () |
Reads WAV files Including WAVEFORMATEX
| WavFile::WavFile | ( | std::string | fileName | ) |
Constructor taking filename as std::string
| WavFile::WavFile | ( | char * | fileName | ) |
Constructor taking filename as char*
| WavFile::~WavFile | ( | ) |
Destructor
| int WavFile::channels | ( | ) |
Returns the number of channels in the file read
| void * WavFile::dataPtr | ( | ) |
Returns a pointer to the data read
| bool WavFile::error | ( | ) |
Returns true if there was an error readin the file
| int WavFile::frames | ( | ) |
Returns the number of frames in the file read
| int WavFile::samplerate | ( | ) |
Returns the sampling rate of the file read
1.8.10