SOURCES: mpc123-defaults-alsa.patch - adapted to ver. 0.2.1

sls sls at pld-linux.org
Wed Oct 31 01:04:47 CET 2007


Author: sls                          Date: Wed Oct 31 00:04:47 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- adapted to ver. 0.2.1

---- Files affected:
SOURCES:
   mpc123-defaults-alsa.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/mpc123-defaults-alsa.patch
diff -u SOURCES/mpc123-defaults-alsa.patch:1.1 SOURCES/mpc123-defaults-alsa.patch:1.2
--- SOURCES/mpc123-defaults-alsa.patch:1.1	Sun Jan 29 18:45:38 2006
+++ SOURCES/mpc123-defaults-alsa.patch	Wed Oct 31 01:04:42 2007
@@ -1,24 +1,11 @@
-diff -Nur old/ao.c new/ao.c
---- old/ao.c	2006-01-05 22:28:53.000000000 +0100
-+++ new/ao.c	2006-01-28 22:20:08.000000000 +0100
-@@ -63,7 +63,7 @@
-   /* set alsa options */
-   if( !strcmp(options.ao_driver, "alsa09") ){
-     opt_head=malloc(sizeof(ao_option));
--    opt_head->key="dev";
-+    opt_head->key="default";
-     opt_head->value=options.ao_dev;
-     opt_head->next=NULL;
-     debugf("[ALSA] ao_opts{%s}=%s", opt_head->key, opt_head->value);
-diff -Nur old/mpc123.c new/mpc123.c
---- old/mpc123.c	2006-01-05 22:28:53.000000000 +0100
-+++ new/mpc123.c	2006-01-28 20:40:54.000000000 +0100
-@@ -44,7 +44,7 @@
-   .shuffle=0,
-   .random=0,
-   .verbosity=0,
--  .ao_driver="oss",
-+  .ao_driver="alsa09",
-   .ao_dev="/dev/dsp",
-   .volume=1.0
- };
+--- mpc123/mpc123.c.orig	2007-10-30 23:22:26.946985911 +0000
++++ mpc123/mpc123.c	2007-10-30 23:23:06.440960856 +0000
+@@ -171,7 +171,7 @@
+    * specified on the command line
+    */
+   if( !options.ao_driver ){
+-    options.ao_driver="oss";
++    options.ao_driver="alsa";
+   }
+   if( !options.ao_dev ){
+     /* if the driver is set, but not the output device, use
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/mpc123-defaults-alsa.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list