[MPlayer-cvslog] CVS: main/libao2 ao_alsa.c,1.31,1.32

Clemens Ladisch CVS syncmail at mplayerhq.hu
Mon Feb 13 12:16:31 CET 2006


CVS change done by Clemens Ladisch CVS

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

Modified Files:
	ao_alsa.c 
Log Message:
After removing play_mmap(), the play() function just unconditionally
calls play_normal().  This indirection is now superfluous.

Index: ao_alsa.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_alsa.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- ao_alsa.c	13 Feb 2006 11:15:25 -0000	1.31
+++ ao_alsa.c	13 Feb 2006 11:16:29 -0000	1.32
@@ -776,16 +776,6 @@
   return(1); /* ok, data should be accepted again */
 }
 
-static int play_normal(void* data, int len);
-
-static int play(void* data, int len, int flags)
-{
-  int result;
-  result = play_normal(data, len);
-
-  return result;
-}
-
 /*
     plays 'len' bytes of 'data'
     returns: number of bytes played
@@ -793,7 +783,7 @@
     thanxs for marius <marius at rospot.com> for giving us the light ;)
 */
 
-static int play_normal(void* data, int len)
+static int play(void* data, int len, int flags)
 {
 
   //bytes_per_sample is always 4 for 2 chn S16_LE




More information about the MPlayer-cvslog mailing list