search for: playlist_array

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

2004 Jun 15
3
Repeat patch for ogg123
..., ""); bindtextdomain(PACKAGE, LOCALEDIR); @@ -360,21 +362,6 @@ } else audio_buffer = NULL; - - /* Shuffle playlist */ - if (options.shuffle) { - int i; - - srandom(time(NULL)); - - for (i = 0; i < items; i++) { - int j = i + random() % (items - i); - char *temp = playlist_array[i]; - playlist_array[i] = playlist_array[j]; - playlist_array[j] = temp; - } - } - /* Setup signal handlers and callbacks */ ATEXIT (exit_cleanup); @@ -382,12 +369,31 @@ signal (SIGTSTP, signal_handler); signal (SIGCONT, signal_handler); + k=0; + + while ((k < options.repeat ||...
2002 Oct 05
2
ogg123 remote interface
...mdline_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 filename (source_string actually). Thi...
2004 Sep 30
1
[don@donarmstrong.com: Bug#274301: libflac4 segfaults on corrupt flac files]
...mt = {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 = 110592, st_blksize = 4096, st_blocks = 224, st_atim = {tv_sec = 1096585478, tv_nsec = 271352832}, st_mtim = {...