search for: pcmdatasize

Displaying 1 result from an estimated 1 matches for "pcmdatasize".

Did you mean: cptdatasize
2004 Feb 19
3
Ov_open crash in windows
...! 00471d1d() I am running Win98 and v1.0 off the vorbis libs. The app is single- threaded. The following code works just fine in a test app I built, but when I add it to another app, the error occurs: int CSound::LoadVorbisFile(char *fname) { FILE *file; char *pcmData = NULL; const int pcmDataSize = 0x400000; pcmData = new char[pcmDataSize]; if(pcmData != NULL) { // Open the file if( (file = fopen(fname,"rb")) != NULL) { int oggRetVal = ov_open(file,&m_VorbisFile,NULL,0); Does anybody have any suggestions as to why the ov_open call works...