search for: 02li

Displaying 3 results from an estimated 3 matches for "02li".

Did you mean: 02i
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)
2001 May 29
2
wishlist for ogg123 += Non-blocking verbose messages
Hi, I am using the ogg123 player through an emacs interface to mpg123 I patched up to support ogg123 (shameless plug, see http://asf.void.at/emacs.html). This has a problem (apart from it being emacs, which might offend some of you (-:): The verbose output from ogg123 is collected and inserted into a temporary buffer. This works when emacs has nothing else to do, but fails when it blocks. Then,
2002 Oct 05
2
ogg123 remote interface
...en */ -int write_time_string (char *dest, double time) +int write_time_string (char *dest, double timeval) { - long min = (long) time / (long) 60; - double sec = time - 60.0f * min; + long min = (long) timeval / (long) 60; + double sec = timeval - 60.0f * min; return sprintf (dest, "%02li:%05.2f", min, sec); } -------------- next part -------------- diff -urN -X diff.ignore ogg123.orig/buffer.c ogg123/buffer.c --- ogg123.orig/buffer.c Sat Oct 5 14:40:18 2002 +++ ogg123/buffer.c Sat Oct 5 14:52:04 2002 @@ -153,13 +153,6 @@ } -void free_action (action_t *action) -{ - fre...