changeset 30676:13b7aa964af6

Mark theRenderProc() as static, it is only used within the file.
author diego
date Tue, 23 Feb 2010 07:54:43 +0000
parents 059153d06619
children 13d63ba31154
files libao2/ao_coreaudio.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/ao_coreaudio.c	Tue Feb 23 07:54:10 2010 +0000
+++ b/libao2/ao_coreaudio.c	Tue Feb 23 07:54:43 2010 +0000
@@ -119,7 +119,11 @@
   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;