search for: ogg123_opt

Displaying 7 results from an estimated 7 matches for "ogg123_opt".

Did you mean: ogg123_opts
2002 Oct 05
2
ogg123 remote interface
...7 +21,7 @@ #include "transport.h" #include "i18n.h" - +#include "status.h" typedef struct file_private_t { FILE *fp; @@ -37,7 +37,7 @@ return 1; /* The file transport is tested last, so always try it */ } -data_source_t* file_open (char *source_string, ogg123_options_t *ogg123_opts) +data_source_t* file_open (char *source_string, ogg123_options_t *ogg123_opts, stat_format_t *stat_format) { data_source_t *source; file_private_t *private; diff -urN -X diff.ignore ogg123.orig/http_transport.c ogg123/http_transport.c --- ogg123.orig/http_transport.c Wed...
2003 Mar 09
0
ogg123 --end 1:59 patch.ogg
...argument, 0, 'p'}, @@ -50,6 +51,17 @@ {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)...
2003 Feb 28
2
ogg123 -k 1:59 patch.ogg # minutes and seconds
...if (*p >= '0' && *p <='9') + sec = sec * 10 + (*p-'0'); + else + if (*p == ':') { + min = sec; + sec = 0.0; + } + p++; + } + return (min*60+sec+atof(p)); +} int parse_cmdline_options (int argc, char **argv, ogg123_options_t *ogg123_opts, @@ -137,7 +155,7 @@ break; case 'k': - ogg123_opts->seekpos = atof(optarg); + ogg123_opts->seekpos = minsec_atof(optarg); break; case 'l': PS: Is there a library function for this kind of stuff? best...
2004 Jun 15
3
Repeat patch for ogg123
...6,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->verbosity = 0; break; + case 'r': + ogg123_opts->repeat = atoi(optarg); + break; + case 'v': ogg123_opts->verbosity++; break; @@ -308,6 +313,8 @@ " v to previously specified device (with -d). See\n" " man page for more info.\n" " -@...
2004 Sep 30
1
[don@donarmstrong.com: Bug#274301: libflac4 segfaults on corrupt flac files]
...t = 8 frame_crc = 4608 x = 248 #5 0x4021c6e0 in FLAC__stream_decoder_process_single (decoder=0x805ba58) at stream_decoder.c:596 got_a_frame = 0 #6 0x08053774 in EasyFLAC__process_single (decoder=0x805ba30) at ../../ogg123/easyflac.c:356 No locals. #7 0x08052690 in flac_init (source=0x805aa60, ogg123_opts=0x8059d60, audio_fmt=0xbffff3e0, callbacks=0xbffff408, callback_arg=0x407ed008) at ../../ogg123/flac_format.c:181 decoder = (decoder_t *) 0x805b990 private = (flac_private_t *) 0x805b9d0 ret = -1073745000 #8 0x0804fec0 in play (source_string=0x805b8d0 "crash.flac") at ../../ogg12...
2003 Jan 16
1
Several problems with ogg123
...o.1...done. #0 0x28253a48 in .cerror () from /usr/lib/libc.so.4 (gdb) bt #0 0x28253a48 in .cerror () from /usr/lib/libc.so.4 #1 0x283a3633 in _exit () from /usr/lib/libc_r.so.4 #2 0x28253947 in exit () from /usr/lib/libc.so.4 #3 0x804ce53 in parse_cmdline_options (argc=2, argv=0xbfbff60c, ogg123_opts=0x80570e0, file_opts=0x8055c6c) at cmdline_options.c:102 #4 0x804e609 in main (argc=2, argv=0xbfbff60c) at ogg123.c:295 #5 0x8049e9e in _start () <p>I've compiled the sources myself, and tried the versions from the FreeBSD ports collection, with either giving the same results. With th...
2004 May 23
4
Various Ogg Vorbis largefile notes and/or patches
Greetings one and all; I'm not subscribed to this list so I'm first sending this message to verify that mails from me make it through, and then later I'll send the juicy messages with patches. Also, the address I'm using is IPv6-only and doesn't often work, so drop me from any replies and I'll catch the archives, or drop only the hostname part to get an IPv4 address that