search for: ov_eversion

Displaying 4 results from an estimated 4 matches for "ov_eversion".

Did you mean: os_version
2002 Dec 09
2
ov_open/ov_test weirdness
...char *tmp = "What?"; switch(err) { case OV_EREAD: tmp = "A read from media returned an error."; break; case OV_ENOTVORBIS: tmp = "Bitstream is not Vorbis data."; break; case OV_EVERSION: tmp = "Vorbis version mismatch."; break; case OV_EBADHEADER: tmp = "Invalid Vorbis bitstream header."; break; case OV_EFAULT: tmp = "Internal logic fault; indicates a bug or heap/stack corruption."; break;...
2002 Apr 01
1
Fw: ov_open failing with all files
...e FILE *fd = fopen("c:\\Welcome.ogg", "r"); if ((ret = ov_open(fd, &m_file, NULL, 0)) < 0) { switch (ret) case OV_EREAD: TRACE(" - A read from media returned an error.\n"); case OV_ENOTVORBIS: TRACE("- Bitstream is not Vorbis data.\n"); case OV_EVERSION: TRACE(" - Vorbis version mismatch.\n"); case OV_EBADHEADER: TRACE(" - Invalid Vorbis bitstream header.\n"); case OV_EFAULT: TRACE("- Internal logic fault; indicates a bug or heap/stack corruption.\n"); } AfxTrace("Error: input not an Ogg Vorbis audio stre...
2005 Aug 05
1
debugging question.
...finally arrive at the function shown below (in file lib/info.c) static int _vorbis_unpack_info(vorbis_info *vi,oggpack_buffer *opb){ 196 codec_setup_info *ci=vi->codec_setup; 197 if(!ci)return(OV_EFAULT); 198 199 vi->version=oggpack_read(opb,32); 200 if(vi->version!=0)return(OV_EVERSION); 201 202 vi->channels=oggpack_read(opb,8); 203 vi->rate=oggpack_read(opb,32); 204 205 vi->bitrate_upper=oggpack_read(opb,32); 206 vi->bitrate_nominal=oggpack_read(opb,32); 207 vi->bitrate_lower=oggpack_read(opb,32); 208 209 ci->blocksizes[0]=1<<oggpack_read(opb,...
2004 Feb 11
1
Problem using 'ov_open()'...
...(pFile = fopen(Filename, "rb")) == NULL) return false; Result = ov_open(pFile, pOVFile, NULL, 0); switch(Result) { case 0: break; case OV_EREAD: fclose(pFile); return false; case OV_ENOTVORBIS: fclose(pFile); return false; case OV_EVERSION: fclose(pFile); return false; case OV_EBADHEADER: fclose(pFile); return false; case OV_EFAULT: fclose(pFile); return false; } return true; } pSOUNDDATA OGGDATA::DecodeOGGLow() { int StreamID; unsigned int Size, Read, Location; pSOUNDDA...