made two callback procedures static.

master
Ozkan Sezer 5 years ago
parent 1dc0824894
commit dc5a75b82f
  1. 2
      src/sound_beos.cpp
  2. 2
      src/sound_coreaudio.c

@ -121,7 +121,7 @@ static int read_buffer(unsigned char *data, int len)
return len;
}
void render_proc(void *theCookie, void *buffer, size_t req,
static void render_proc(void *theCookie, void *buffer, size_t req,
const media_raw_audio_format &format)
{
size_t amt;

@ -103,7 +103,7 @@ static int read_buffer(unsigned char *data, int len)
return len;
}
OSStatus render_proc(void *inRefCon,
static OSStatus render_proc(void *inRefCon,
AudioUnitRenderActionFlags *inActionFlags,
const AudioTimeStamp *inTimeStamp, UInt32 inBusNumber,
UInt32 inNumFrames, AudioBufferList *ioData)

Loading…
Cancel
Save