Displaying 2 results from an estimated 2 matches for "status_freq".
2004 Jun 15
3
Repeat patch for ogg123
...fer n"
Use an input buffer of approximately 'n' kilobytes.
.IP "-p n, --prebuffer n"
diff -u ogg123/ogg123.c ogg123-mine/ogg123.c
--- ogg123/ogg123.c 2004-06-15 17:21:17.000000000 +0200
+++ ogg123-mine/ogg123.c 2004-06-15 18:34:55.000000000 +0200
@@ -149,6 +149,7 @@
opts->status_freq = 10.0;
opts->playlist = NULL;
+ opts->repeat = 1;
}
@@ -296,6 +297,7 @@
int items;
struct stat stat_buf;
int i;
+ int k;
setlocale(LC_ALL, "");
bindtextdomain(PACKAGE, LOCALEDIR);
@@ -360,21 +362,6 @@
} else
audio_buffer = NULL;
-
- /* Shuffle playlist */
- if (options.shuf...
2002 Oct 05
2
ogg123 remote interface
...o see if the audio format has changed */
- if (!audio_format_equal(&new_audio_fmt, &old_audio_fmt)) {
- old_audio_fmt = new_audio_fmt;
-
- /* Update our status printing interval */
- status_interval = new_audio_fmt.word_size * new_audio_fmt.channels *
- new_audio_fmt.rate / options.status_freq;
- next_status = 0;
-
- reopen_arg = new_audio_reopen_arg(options.devices, &new_audio_fmt);
-
- if (audio_buffer)
- buffer_insert_action_at_end(audio_buffer, &audio_reopen_action,
- reopen_arg);
- else
- audio_reopen_action(NULL, reopen_arg);
- }
-
-
- /* Upd...