Displaying 5 results from an estimated 5 matches for "audio_device_t".
2003 Mar 09
0
ogg123 --end 1:59 patch.ogg
...0, 0, 0, 0}
};
+double strtotime(char *s)
+{
+ double time;
+
+ time = strtod(s, &s);
+
+ while (*s == ':')
+ time = 60 * time + strtod(s + 1, &s);
+
+ return time;
+}
int parse_cmdline_options (int argc, char **argv,
ogg123_options_t *ogg123_opts,
@@ -63,7 +75,7 @@
audio_device_t *current;
int ret;
- while (-1 != (ret = getopt_long(argc, argv, "b:c::d:f:hl:k:o:p:qvVx:y:z@:",
+ while (-1 != (ret = getopt_long(argc, argv, "b:c::d:f:hl:k:K:o:p:qvVx:y:z@:",
long_options, &option_index))) {
switch (ret) {
@@ -137,7 +149,11 @@
brea...
2002 Jan 02
2
macosx (lots of little changes)
...ot;pthread_sigmask failed");
}
I was getting segfaults using NULL instead of the dummy variable.
--- ogg123/callbacks.c.orig Wed Jan 2 01:25:13 2002
+++ ogg123/callbacks.c Tue Jan 1 18:14:29 2002
@@ -40,10 +40,11 @@
audio_reopen_arg_t *reopen_arg = (audio_reopen_arg_t *) arg;
audio_device_t *current;
ao_sample_format format;
+ int dummy_o;
/* We DO NOT want to get cancelled part way through this and have our
audio devices in an unknown state */
- pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, NULL);
+ pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, &dummy_o);
&l...
2002 Jan 02
2
macosx (lots of little changes)
...ot;pthread_sigmask failed");
}
I was getting segfaults using NULL instead of the dummy variable.
--- ogg123/callbacks.c.orig Wed Jan 2 01:25:13 2002
+++ ogg123/callbacks.c Tue Jan 1 18:14:29 2002
@@ -40,10 +40,11 @@
audio_reopen_arg_t *reopen_arg = (audio_reopen_arg_t *) arg;
audio_device_t *current;
ao_sample_format format;
+ int dummy_o;
/* We DO NOT want to get cancelled part way through this and have our
audio devices in an unknown state */
- pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, NULL);
+ pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, &dummy_o);
&l...
2004 Jun 15
3
Repeat patch for ogg123
...15 17:26:19.000000000 +0200
@@ -48,6 +48,7 @@
{"shuffle", no_argument, 0, 'z'},
{"list", required_argument, 0, '@'},
{"audio-buffer", required_argument, 0, 0},
+ {"repeat", required_argument, 0, 'r'},
{0, 0, 0, 0}
};
@@ -75,7 +76,7 @@
audio_device_t *current;
int ret;
- while (-1 != (ret = getopt_long(argc, argv, "b:c::d:f:hl:k:K:o:p:qvVx:y:z@:",
+ while (-1 != (ret = getopt_long(argc, argv, "b:c::d:f:hl:k:K:o:p:qr:vVx:y:z@:",
long_options, &option_index))) {
switch (ret) {
@@ -187,6 +188,10 @@
ogg123_opts->verbo...
2002 Oct 05
2
ogg123 remote interface
...rgument, 0, 'y'},
{"shuffle", no_argument, 0, 'z'},
+ {"remote", no_argument, 0, 'R'},
{"list", required_argument, 0, '@'},
{"audio-buffer", required_argument, 0, 0},
{0, 0, 0, 0}
@@ -63,7 +64,7 @@
audio_device_t *current;
int ret;
- while (-1 != (ret = getopt_long(argc, argv, "b:c::d:f:hl:k:o:p:qvVx:y:z@:",
+ while (-1 != (ret = getopt_long(argc, argv, "b:c::d:f:hl:k:o:p:qRvVx:y:z@:",
long_options, &option_index))) {
switch (ret) {
@@ -171,6 +172,11 @@
ogg12...