VVSDK  1.0
The VVAmbisonic Library
Public Member Functions | List of all members
WavFile Class Reference

#include <WavFile.h>

Public Member Functions

 WavFile (std::string fileName)
 
 WavFile (char *fileName)
 
 ~WavFile ()
 
bool error ()
 
int samplerate ()
 
int frames ()
 
int channels ()
 
void * dataPtr ()
 

Detailed Description

Reads WAV files Including WAVEFORMATEX

Constructor & Destructor Documentation

WavFile::WavFile ( std::string  fileName)

Constructor taking filename as std::string

WavFile::WavFile ( char *  fileName)

Constructor taking filename as char*

WavFile::~WavFile ( )

Destructor

Member Function Documentation

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


The documentation for this class was generated from the following files: