search for: status_interval

Displaying 3 results from an estimated 3 matches for "status_interval".

2002 Oct 05
2
ogg123 remote interface
...) { @@ -535,7 +531,8 @@ /* Update statistics display if needed */ if (next_status <= 0) { - display_statistics(stat_format, audio_buffer, source, decoder); + display_statistics(audio_play_arg->stat_format, audio_buffer, + source, decoder); next_status = status_interval; } else next_status -= ret; @@ -575,7 +572,8 @@ } /* Print final stats */ - display_statistics_quick(stat_format, audio_buffer, source, decoder); + display_statistics_quick(audio_play_arg->stat_format, audio_buffer, + source, decoder);...
2004 Sep 30
1
[don@donarmstrong.com: Bug#274301: libflac4 segfaults on corrupt flac files]
...7ed008 old_audio_fmt = {big_endian = 0, word_size = 0, signed_sample = 0, rate = 0, channels = 0} new_audio_fmt = {big_endian = 0, word_size = 2, signed_sample = 1, rate = 0, channels = 0} reopen_arg = (audio_reopen_arg_t *) 0x0 eof = 0 eos = 0 ret = 0 nthc = 0 ntimesc = 0 next_status = 0 status_interval = 0 #9 0x0804fd23 in main (argc=2, argv=0xbffff584) at ../../ogg123/ogg123.c:393 optind = 1 playlist_array = (char **) 0x805b8c0 items = 1 stat_buf = {st_dev = 2073, __pad1 = 0, st_ino = 3041522, st_mode = 33188, st_nlink = 1, st_uid = 1000, st_gid = 1000, st_rdev = 0, __pad2 = 0, st_size =...
2003 Mar 09
0
ogg123 --end 1:59 patch.ogg
...ekpos); } + if (options.seekpos > options.endpos) { + printf("Error: -k > -K\n"); + options.endpos = 0.0; + } /* Main loop: Iterates over all of the logical bitstreams in the file */ while (!eof && !sig_request.exit) { @@ -539,6 +556,12 @@ next_status = status_interval; } else next_status -= ret; + + if (options.endpos > 0.0) + if (options.endpos <= currenttime(stat_format, source, decoder)) { + eof = eos = 1; + break; + } /* Write audio data block to output, skipping or repeating chunks diff -Naur vorbis-tools-1.0.orig/ogg123/o...