[Mplayer-cvslog] CVS: main/libao2 ao_alsa.c,1.6,1.7

Reimar Döffinger CVS syncmail at mplayerhq.hu
Fri Jul 30 18:15:08 CEST 2004


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main/libao2
In directory mail:/var2/tmp/cvs-serv13954/libao2

Modified Files:
	ao_alsa.c 
Log Message:
Use = instead if # in ALSA device name, as # irritates our config-parser.
Original patch by stan (at) saticed (dot) me (dot) uk


Index: ao_alsa.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_alsa.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ao_alsa.c	14 Jul 2004 15:46:33 -0000	1.6
+++ ao_alsa.c	30 Jul 2004 16:15:05 -0000	1.7
@@ -199,7 +199,7 @@
   strncpy (dest, src, len);
   while ((tmp = strrchr(dest, '.')))
     tmp[0] = ',';
-  while ((tmp = strrchr(dest, '#')))
+  while ((tmp = strrchr(dest, '=')))
     tmp[0] = ':';
 }
 
@@ -207,7 +207,7 @@
 {
   mp_msg (MSGT_AO, MSGL_FATAL,
            "\n-ao alsa commandline help:\n"
-           "Example: mplayer -ao alsa:mmap:device=hw#0.3\n"
+           "Example: mplayer -ao alsa:mmap:device=hw=0.3\n"
            "  sets mmap-mode and first card fourth device\n"
            "\nOptions:\n"
            "  mmap\n"
@@ -215,7 +215,7 @@
            "  noblock\n"
            "    Sets non-blocking mode\n"
            "  device=<device-name>\n"
-           "    Sets device (change , to . and : to #)\n");
+           "    Sets device (change , to . and : to =)\n");
 }
 
 /*




More information about the MPlayer-cvslog mailing list