# HG changeset patch # User diego # Date 1266911683 0 # Node ID 13b7aa964af63ed02374c269b294686f9ea41642 # Parent 059153d0661937fc13515860ae5dace4fb1f8801 Mark theRenderProc() as static, it is only used within the file. diff -r 059153d06619 -r 13b7aa964af6 libao2/ao_coreaudio.c --- 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;