search for: ov_eread

Displaying 7 results from an estimated 7 matches for "ov_eread".

Did you mean: of_read
2004 Apr 05
2
Massive Problems on Windows XP pro with Libvorbis[Vorbisfile]1.0.1
...ne project. First i had the problem quite a lot had out there with a crashing/freezing call to ov_open which i solved by recompiling those libs against the single-threaded variant of the core libs using VC++ 6 But now i have another problem. now every call to ov_open or ov_test or whatever returns OV_EREAD, no matter which file i use. I am perfectly positive on thos .ogg files beeing correct as several tools can load and play them back alright. Since the given explanation string "A read from media returned an error" isn't really self-explanatory i was hoping that somebody out there cou...
2002 Nov 12
2
Vorbisfile: Small Files broken in 1.0?
...nto an infinite loop in vorbisfile.c, line 159. In RC3, that code was: while(offset==-1){ begin-=CHUNKSIZE; if(begin<0) begin=0; _seek_helper(vf,begin); while(vf->offset<begin+CHUNKSIZE){ ret=_get_next_page(vf,og,begin+CHUNKSIZE-vf->offset); if(ret==OV_EREAD)return(OV_EREAD); if(ret<0){ break; }else{ offset=ret; } } } In 1.0, it changed to: end = begin; while(offset==-1){ begin-=CHUNKSIZE; if(begin<0) begin=0; _seek_helper(vf,begin); while(vf->offset<end){ ret=_get_ne...
2002 Mar 27
0
CVS libvorbisfile
...in; ogg_int64_t ret; ogg_int64_t offset=-1; >> while(offset==-1){ >> begin-=CHUNKSIZE; >> if(begin<0) >> begin=0; >> _seek_helper(vf,begin); >> while(vf->offset<end){ ret=_get_next_page(vf,og,end-vf->offset); if(ret==OV_EREAD)return(OV_EREAD); if(ret<0){ break; }else{ offset=ret; >> } } } [...] begin = 0, end = 0 Anybody has an idea here? Or something with my device driver (I have /dev/soundinput for feeding content of the music file) is wrong. Thanks much, Pa...
2002 Dec 09
2
ov_open/ov_test weirdness
...fprintf(stderr, "fopen for '%s' failed: %s", file, strerror(errno)); return -1; } err = ov_test(f, &vf, NULL, 0); if(err < 0) { 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...
2005 Jun 14
3
lack of detail for exception in ov_open
I am having one frustrating time trying to decipher why ov_read is failing in my MFC/C++ application, and I see in Google results that others have had difficulty as well. These google discussions generally involve libraries, dll's and linking options, as though there are perhaps some basic incompatibilities between ogg vorbis and win32 and/or MFC/C++. Very confusing. If I pass fopen a
2002 Apr 01
1
Fw: ov_open failing with all files
...ction, but a call to ov_open_callbacks fails with the same results. I'm using a static build of RC3 with MFC dll on Visual C++ 6. Any ideas? TIA Lance 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_...
2004 Feb 11
1
Problem using 'ov_open()'...
...(char *Filename) { int Result; if(pOVFile != NULL) ov_clear(pOVFile); if(pFile != NULL) fclose(pFile); if((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;...