[xiph-cvs] cvs commit: vorbis-tools/ogg123 ogg123.c ogg123rc-example

Kenneth C. Arnold kcarnold at xiph.org
Wed Aug 22 18:26:43 PDT 2001



kcarnold    01/08/22 18:26:43

  Modified:    ogg123   Tag: kcarnold_work ogg123.c ogg123rc-example
  Log:
  Update ogg123rc example. Switch option parsing order.

Revision  Changes    Path
No                   revision

No                   revision

1.39.2.24 +2 -2      vorbis-tools/ogg123/ogg123.c

Index: ogg123.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/ogg123/ogg123.c,v
retrieving revision 1.39.2.23
retrieving revision 1.39.2.24
diff -u -r1.39.2.23 -r1.39.2.24
--- ogg123.c	2001/08/23 01:15:46	1.39.2.23
+++ ogg123.c	2001/08/23 01:26:42	1.39.2.24
@@ -14,7 +14,7 @@
  *                                                                  *
  ********************************************************************
 
- last mod: $Id: ogg123.c,v 1.39.2.23 2001/08/23 01:15:46 kcarnold Exp $
+ last mod: $Id: ogg123.c,v 1.39.2.24 2001/08/23 01:26:42 kcarnold Exp $
 
  ********************************************************************/
 
@@ -113,13 +113,13 @@
   char *homedir = getenv("HOME");
 
   /* Read config from files in same order as original parser */
+  ReadConfig (opts, "/etc/ogg123rc");
   if (homedir && strlen(homedir) < FILENAME_MAX - 10) {
     /* Try ~/.ogg123 */
     strncpy (filename, homedir, FILENAME_MAX);
     strcat (filename, "/.ogg123rc");
     ReadConfig (opts, filename);
   }
-  ReadConfig (opts, "/etc/ogg123rc");
 }
 /* /configuration interface */
 

1.3.2.1   +15 -2     vorbis-tools/ogg123/ogg123rc-example

Index: ogg123rc-example
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/ogg123/ogg123rc-example,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -u -r1.3 -r1.3.2.1
--- ogg123rc-example	2001/06/18 02:29:16	1.3
+++ ogg123rc-example	2001/08/23 01:26:43	1.3.2.1
@@ -1,3 +1,16 @@
-# Copy this to ~/.ogg123rc and edit as necessary. The current
-# parser appears to handle comments.
+# Copy this to ~/.ogg123rc and edit as necessary. These are all the
+# default options except for default device, which is a reasonable
+# default for many people. To see a full list of available options,
+# type:
+#
+# $ ogg123 -c
+
 default_device=oss
+shuffle=n
+verbose=1
+outbuffer=0
+outprebuffer=0
+inbuffer=100000
+inprebuffer=50
+#save_stream=
+delay=1

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list