Displaying 6 results from an estimated 6 matches for "_get_next_page".
Did you mean:
get_next_page
2004 Jul 19
1
Patch: ogg123 playing >2GB sized files
...vorbisfile.c-DIST Wed Sep 17 04:17:35 2003
+++ lib/vorbisfile.c Thu Jun 17 12:17:23 2004
@@ -541,10 +548,14 @@
}
}
+/* XXX printf("Get next page...\n"); */
+
if(vf->ready_state>=OPENED){
- int ret;
+ ogg_int64_t ret;
+/* XXX HACK int ret; */
if(!readp)return(0);
if((ret=_get_next_page(vf,&og,-1))<0){
+/* XXX printf("Get next page failed, ret is %d.\n", ret); */
return(OV_EOF); /* eof.
leave unitialized */
}
This is the last of the known issues with large files on my FreeBSD
system -- though, as noted, I need to play through an entire >4GB
file to make sure...
2001 Feb 04
2
Am I missing something?
...int result=ogg_stream_packetout(&vf->os,&op);
if(result==0)break;
if(result==-1){
ret=OV_EBADHEADER;
goto bail_header;
}
if((ret=vorbis_synthesis_headerin(vi,vc,&op))){
goto bail_header;
}
i++;
}
if(i<3)
if(_get_next_page(vf,og_ptr,1)<0){
ret=OV_EBADHEADER;
goto bail_header;
}
}
return 0;
Also, notice that ogg_stream_packetout() is called in a loop, but no
reading can happen during the loop. And ogg_stream_packetout() never
returns zero, it returns -1 on error and +1 if everything goe...
2002 Nov 12
2
Vorbisfile: Small Files broken in 1.0?
...ader, so it's _really_ small. When I try to play it, it goes into 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(...
2004 Aug 06
2
OGG123 frozen under certain circumstances while listening at icecast
...a=0x8082b70 "±ùñ`\004", nbytes=964) at buffer.c:542
#5 0x0804df6d in http_read (source=0x8055ab0, ptr=0x8080e00, size=1, nmemb=8500) at http_transport.c:280
#6 0x0804f5cd in vorbisfile_cb_read (ptr=0x8080e00, size=1, nmemb=8500, arg=0x8079658) at oggvorbis_format.c:259
#7 0x4001ccc8 in _get_next_page () from /usr/radio//lib/libvorbisfile.so.3
#8 0x4001d3be in _fetch_and_process_packet () from /usr/radio//lib/libvorbisfile.so.3
#9 0x4001c235 in ov_read () from /usr/radio//lib/libvorbisfile.so.3
#10 0x0804f329 in ovf_read (decoder=0x8079658, ptr=0x80551a0, nbytes=1280, eos=0xbffffc04, audio_fmt...
2002 Mar 27
0
CVS libvorbisfile
...ogg_int64_t begin=vf->offset;
ogg_int64_t end=begin;
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 cont...
2000 May 01
2
Bug fix, win32 stuff
There was a bug in the new ov_open_callbacks where it would
not zero out some member variables of the file info struct,
and if a file was not successfully opened this would cause
a crash at destruct time. Fixed.
I've also made some changes so that vorbis will compile
cleanly under win32 without one having to muck around with it.
I have added a "vorbis_vc6" directory which contains