mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 07:33:46 +01:00
Mark theRenderProc() as static, it is only used within the file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30718 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
5405958e34
commit
9c856aeffe
@ -119,7 +119,11 @@ static int read_buffer(unsigned char* data,int len){
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user