Inheritance diagram for wavefile:
Public Member Functions | |
wavefile () | |
unsigned long int | getlocinc () |
wavefile (char *frdata, unsigned long int frsize) | |
wavefile (string wavepath) | |
wavefile (wavefile &wv) | |
wavefile (const wavefile &wv) | |
int | makeMono (int type) |
int | makePerm (string dest) |
int | getFirstFrame (char *frmdata, unsigned long int *frsize) |
int | getNextFrame (char *frmdata, unsigned long int *frsize) |
int | getFrame (unsigned long int i, string framename) |
vector< double > | getMFCC (int *status) |
int | appendFrame (string fpath) |
int | getData (char *frmdata, unsigned long int *frsize) |
int | commit (void) |
int | showDetails () |
~wavefile () | |
unsigned long int | nFrames () |
Protected Attributes | |
char | ChunkID [4] |
unsigned long int | ChunkSize |
char | Format [4] |
char | Subchunk1ID [4] |
unsigned long int | Subchunk1Size |
unsigned short int | AudioFormat |
unsigned short int | NumChannels |
unsigned long int | SampleRate |
unsigned long int | ByteRate |
unsigned short int | BlockAlign |
unsigned short int | BitsPerSample |
char | Subchunk2ID [4] |
unsigned long int | Subchunk2Size |
char * | data |
string | path |
unsigned long int | locinc |
unsigned long int | curloc |
FILE * | fptr |
|
Definition at line 154 of file wavefile.cpp. References AudioFormat, BitsPerSample, BlockAlign, BPS, ByteRate, ChunkID, ChunkSize, curloc, data, filemgr, Format, FRAMELENGTH, locinc, filemanager::newTempFile(), NumChannels, path, SAMPLERATE, SampleRate, Subchunk1ID, Subchunk1Size, Subchunk2ID, and Subchunk2Size. |
|
Definition at line 179 of file wavefile.cpp. References AudioFormat, BitsPerSample, BlockAlign, BPS, ByteRate, ChunkID, ChunkSize, curloc, data, filemgr, Format, FRAMELENGTH, locinc, filemanager::newTempFile(), NumChannels, path, SAMPLERATE, SampleRate, Subchunk1ID, Subchunk1Size, Subchunk2ID, and Subchunk2Size. |
|
Definition at line 205 of file wavefile.cpp. References AudioFormat, BitsPerSample, BlockAlign, ByteRate, ChunkID, ChunkSize, curloc, data, Format, fptr, FRAMELENGTH, locinc, NumChannels, path, SampleRate, Subchunk1ID, Subchunk1Size, Subchunk2ID, and Subchunk2Size. |
|
Definition at line 266 of file wavefile.cpp. References AudioFormat, BitsPerSample, BlockAlign, ByteRate, ChunkID, ChunkSize, curloc, data, filemgr, Format, locinc, filemanager::newTempFile(), NumChannels, path, SampleRate, Subchunk1ID, Subchunk1Size, Subchunk2ID, and Subchunk2Size. |
|
Definition at line 291 of file wavefile.cpp. References AudioFormat, BitsPerSample, BlockAlign, ByteRate, ChunkID, ChunkSize, curloc, data, filemgr, Format, locinc, filemanager::newTempFile(), NumChannels, path, SampleRate, Subchunk1ID, Subchunk1Size, Subchunk2ID, and Subchunk2Size. |
|
Definition at line 602 of file wavefile.cpp. References filemanager::checkTempFile(), commit(), data, filemanager::delTempFile(), filemgr, and path. |
|
Definition at line 492 of file wavefile.cpp. References ChunkSize, data, fptr, getlocinc(), Subchunk1Size, and Subchunk2Size. Referenced by decoder::decode(). |
|
Definition at line 533 of file wavefile.cpp. References AudioFormat, BitsPerSample, BlockAlign, ByteRate, ChunkID, ChunkSize, data, Format, NumChannels, path, SampleRate, Subchunk1ID, Subchunk1Size, Subchunk2ID, and Subchunk2Size. Referenced by makeMono(), and ~wavefile(). |
|
Definition at line 523 of file wavefile.cpp. References data, FAILURE, Subchunk2Size, and SUCCESS. |
|
Definition at line 397 of file wavefile.cpp. |
|
Definition at line 428 of file wavefile.cpp. References AudioFormat, BitsPerSample, BlockAlign, ByteRate, ChunkID, curloc, data, Format, getlocinc(), locinc, NumChannels, SampleRate, Subchunk1ID, Subchunk1Size, and Subchunk2ID. Referenced by repositorygenerator::generate(). |
|
Definition at line 174 of file wavefile.cpp. References ByteRate, and FRAMELENGTH. Referenced by appendFrame(), getFrame(), and nFrames(). |
|
Definition at line 473 of file wavefile.cpp. References FAILURE, fptr, MAX_DIM, and SUCCESS. Referenced by encoder::encode(), and repositorygenerator::generate(). |
|
Definition at line 414 of file wavefile.cpp. References curloc, data, locinc, Subchunk2Size, and SUCCESS. |
|
Definition at line 316 of file wavefile.cpp. References BitsPerSample, BlockAlign, ByteRate, ChunkSize, commit(), data, NumChannels, SampleRate, Subchunk1Size, and Subchunk2Size. |
|
Definition at line 390 of file wavefile.cpp. References filemgr, filemanager::makePerm(), and path. Referenced by decoder::decode(). |
|
Definition at line 613 of file wavefile.cpp. References getlocinc(), and Subchunk2Size. Referenced by encoder::encode(). |
|
Definition at line 577 of file wavefile.cpp. References AudioFormat, BitsPerSample, BlockAlign, ByteRate, ChunkID, ChunkSize, curloc, Format, locinc, NumChannels, path, SampleRate, Subchunk1ID, Subchunk1Size, Subchunk2ID, Subchunk2Size, and SUCCESS. |
|
Definition at line 140 of file wavefile.cpp. Referenced by commit(), getFrame(), showDetails(), and wavefile(). |
|
Definition at line 145 of file wavefile.cpp. Referenced by commit(), getFrame(), makeMono(), showDetails(), and wavefile(). |
|
Definition at line 144 of file wavefile.cpp. Referenced by commit(), getFrame(), makeMono(), showDetails(), and wavefile(). |
|
Definition at line 143 of file wavefile.cpp. Referenced by commit(), getFrame(), getlocinc(), makeMono(), showDetails(), and wavefile(). |
|
Definition at line 135 of file wavefile.cpp. Referenced by commit(), getFrame(), showDetails(), and wavefile(). |
|
Definition at line 136 of file wavefile.cpp. Referenced by appendFrame(), commit(), makeMono(), showDetails(), and wavefile(). |
|
Definition at line 151 of file wavefile.cpp. Referenced by getFirstFrame(), getFrame(), getNextFrame(), showDetails(), and wavefile(). |
|
Definition at line 148 of file wavefile.cpp. Referenced by appendFrame(), commit(), getData(), getFirstFrame(), getFrame(), getNextFrame(), makeMono(), wavefile(), and ~wavefile(). |
|
Definition at line 137 of file wavefile.cpp. Referenced by commit(), getFrame(), showDetails(), and wavefile(). |
|
Definition at line 152 of file wavefile.cpp. Referenced by appendFrame(), getMFCC(), and wavefile(). |
|
Definition at line 150 of file wavefile.cpp. Referenced by getFirstFrame(), getFrame(), getNextFrame(), showDetails(), and wavefile(). |
|
Definition at line 141 of file wavefile.cpp. Referenced by commit(), getFrame(), makeMono(), showDetails(), and wavefile(). |
|
Definition at line 149 of file wavefile.cpp. Referenced by commit(), makePerm(), showDetails(), wavefile(), and ~wavefile(). |
|
Definition at line 142 of file wavefile.cpp. Referenced by commit(), getFrame(), makeMono(), showDetails(), and wavefile(). |
|
Definition at line 138 of file wavefile.cpp. Referenced by commit(), getFrame(), showDetails(), and wavefile(). |
|
Definition at line 139 of file wavefile.cpp. Referenced by appendFrame(), commit(), getFrame(), makeMono(), showDetails(), and wavefile(). |
|
Definition at line 146 of file wavefile.cpp. Referenced by commit(), getFrame(), showDetails(), and wavefile(). |
|
Definition at line 147 of file wavefile.cpp. Referenced by appendFrame(), commit(), getData(), getNextFrame(), makeMono(), nFrames(), showDetails(), and wavefile(). |