[xiph-cvs] cvs commit: ao/src/plugins/oss ao_oss.c

Stan Seibert volsung at xiph.org
Sat Aug 4 15:43:38 PDT 2001



volsung     01/08/04 15:43:38

  Modified:    doc      drivers.html
               src/plugins/oss ao_oss.c
  Log:
  Changing oss driver option from "dev" back to "dsp". Not sure what crack
  I was on when I did that earlier.

Revision  Changes    Path
1.3       +1 -1      ao/doc/drivers.html

Index: drivers.html
===================================================================
RCS file: /usr/local/cvsroot/ao/doc/drivers.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- drivers.html	2001/08/04 02:56:08	1.2
+++ drivers.html	2001/08/04 22:43:37	1.3
@@ -97,7 +97,7 @@
 
 <b>Option keys:</b>
 <ul>
-<li>"dev" - The dsp device.  By default, the driver tries
+<li>"dsp" - The dsp device.  By default, the driver tries
 "/dev/sound/dsp", followed by "/dev/dsp".
 </ul>
 <p>

1.8       +3 -3      ao/src/plugins/oss/ao_oss.c

Index: ao_oss.c
===================================================================
RCS file: /usr/local/cvsroot/ao/src/plugins/oss/ao_oss.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ao_oss.c	2001/08/04 02:56:17	1.7
+++ ao_oss.c	2001/08/04 22:43:38	1.8
@@ -43,7 +43,7 @@
 #include "ao/plugin.h"
 
 
-static char *ao_oss_options[] = {"dev"};
+static char *ao_oss_options[] = {"dsp"};
 static ao_info ao_oss_info =
 {
         AO_TYPE_LIVE,
@@ -147,8 +147,8 @@
         ao_oss_internal *internal = (ao_oss_internal *) device->internal;
 
 
-	if (!strcmp(key, "dev")) {
-		/* Free old string in case "dev" set twice in options */
+	if (!strcmp(key, "dsp")) {
+		/* Free old string in case "dsp" set twice in options */
                 free(internal->dev); 
                 internal->dev = strdup(value);
         }

--- >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