search for: stat_format

Displaying 2 results from an estimated 2 matches for "stat_format".

Did you mean: set_format
2002 Oct 05
2
ogg123 remote interface
....patch This patch makes the cmdline_usage() function print it out nicer. add-remote-interface-usage.patch This patch adds the usage of control_generic() to ogg123.c It adds the command line option (-R) (and adds it to the manpage). This patch also fixes a small memleak by adding calls to stat_format_cleanup() and free(playlist_array) at the end of main(). cmdline-fix-indent.patch This patch fixes the broken indentation in the command line handling switch. add-title-option.patch This patch adds the --title (-T) command line option. This sets the xterm title to currently playing filena...
2003 Mar 09
0
ogg123 --end 1:59 patch.ogg
...pts->nth = 1; opts->ntimes = 1; opts->seekpos = 0.0; + opts->endpos = 0.0; opts->buffer_size = 128 * 1024; opts->prebuffer = 0.0f; opts->input_buffer_size = 64 * 1024; @@ -250,6 +251,18 @@ print_statistics_action(NULL, pstats_arg); } +double currenttime (stat_format_t *stat_format, + data_source_t *source, + decoder_t *decoder) +{ + print_statistics_arg_t *pstats_arg; + + pstats_arg = new_print_statistics_arg(stat_format, + source->transport->statistics(source), + decoder->format->statistics(decoder)); + + return pstats_arg->dec...