comparison Alc/backends/send.c @ 33:3caceef436ea tip

formatting for web
author Robert McIntyre <rlm@mit.edu>
date Sat, 11 Feb 2012 12:25:55 -0700
parents f4c7260d397a
children
comparison
equal deleted inserted replaced
32:b8bc24918d63 33:3caceef436ea
230 */ 230 */
231 static void init(ALCdevice *Device){ 231 static void init(ALCdevice *Device){
232 ALCcontext *masterContext = alcGetCurrentContext(); 232 ALCcontext *masterContext = alcGetCurrentContext();
233 addContext(Device, masterContext); 233 addContext(Device, masterContext);
234 } 234 }
235
236 235
237 static void renderData(ALCdevice *Device, int samples){ 236 static void renderData(ALCdevice *Device, int samples){
238 if(!Device->Connected){return;} 237 if(!Device->Connected){return;}
239 send_data *data = (send_data*)Device->ExtraData; 238 send_data *data = (send_data*)Device->ExtraData;
240 ALCcontext *current = alcGetCurrentContext(); 239 ALCcontext *current = alcGetCurrentContext();