search for: ov_bitrate_instant

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

2000 Jun 15
2
more commits
Contained in tonight's last commit: Fixed a link-crossing bug in libvorbis (total time was reset to -1 at the link boundary until the next packet with a frame number arrived) Implemented instantaneous bitrate capability in libvorbis; added ov_bitrate_instant() to interface. I know I talked about a different interface to this with the Sonique folks a few months ago... I couldn't remember exactly what we'd hammered out (but I do remember it involved overloading the ov_bitrate interface) so I just added a new call. Added instantaneous bitrate di...
2000 Aug 01
2
ogg123 timekeeping
Does this look okay? : Time: 1:15.50 of 4:13.73, Bitrate: 133.3 How about? : <snip from=ogg123.c> info.u_time = ov_time_total (&vf, -1); /* Seconds with double precision */ gettimeofday (&start_time, NULL); t_min = (long) info.u_time / (long) 60; t_sec = info.u_time - 60 * t_min; while (! eos) { gettimeofday (&cur_time, NULL); c_min = (long)
2002 Dec 08
0
vorbisfile API overview documentation error
Hi In the vorbisfile API Overview, section 'File Information' on the Documentation page (http://www.xiph.org/ogg/vorbis/doc/vorbisfile/fileinfo.html) The 'ov_bitrate_instant' is said to return -1 if at the beginning of the bitream or no new information is available. According to the libVorbisfile Documentation, the return value is 0 in this situation. PG --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To...
2002 Oct 05
2
ogg123 remote interface
...es / + (double)decoder->actual_fmt.rate; + priv->stats.current_time = priv->stats.current_pcm_sample / + (double)decoder->actual_fmt.rate; /* vorbisfile returns 0 when no bitrate change has occurred */ instant_bitrate = ov_bitrate_instant(&priv->vf); -------------- next part -------------- diff -urN -X diff.ignore ogg123.orig/callbacks.c ogg123/callbacks.c --- ogg123.orig/callbacks.c Sat Oct 5 14:33:28 2002 +++ ogg123/callbacks.c Sat Oct 5 16:23:42 2002 @@ -136,6 +136,36 @@ /* Statistics callbacks */ +/* +// remote_wri...