[MPlayer-cvslog] r30718 - trunk/libao2/ao_coreaudio.c

diego subversion at mplayerhq.hu
Tue Feb 23 08:54:43 CET 2010


Author: diego
Date: Tue Feb 23 08:54:43 2010
New Revision: 30718

Log:
Mark theRenderProc() as static, it is only used within the file.

Modified:
   trunk/libao2/ao_coreaudio.c

Modified: trunk/libao2/ao_coreaudio.c
==============================================================================
--- trunk/libao2/ao_coreaudio.c	Tue Feb 23 08:54:10 2010	(r30717)
+++ trunk/libao2/ao_coreaudio.c	Tue Feb 23 08:54:43 2010	(r30718)
@@ -119,7 +119,11 @@ static int read_buffer(unsigned char* da
   return len;
 }
 
-OSStatus theRenderProc(void *inRefCon, AudioUnitRenderActionFlags *inActionFlags, const AudioTimeStamp *inTimeStamp, UInt32 inBusNumber, UInt32 inNumFrames, AudioBufferList *ioData)
+static OSStatus theRenderProc(void *inRefCon,
+                              AudioUnitRenderActionFlags *inActionFlags,
+                              const AudioTimeStamp *inTimeStamp,
+                              UInt32 inBusNumber, UInt32 inNumFrames,
+                              AudioBufferList *ioData)
 {
 int amt=av_fifo_size(ao->buffer);
 int req=(inNumFrames)*ao->packetSize;


More information about the MPlayer-cvslog mailing list