mixer.c
changeset 771 fa081ec2940e
parent 766 1e215d1f9492
child 777 92882ef2ab81
equal deleted inserted replaced
770:74a0ac03a448 771:fa081ec2940e
   302     return(buf);
   302     return(buf);
   303 }
   303 }
   304 
   304 
   305 
   305 
   306 /* Mixing function */
   306 /* Mixing function */
   307 static SDLCALL
   307 static void SDLCALL
   308 void mix_channels(void *udata, Uint8 *stream, int len)
   308 mix_channels(void *udata, Uint8 *stream, int len)
   309 {
   309 {
   310     Uint8 *mix_input;
   310     Uint8 *mix_input;
   311     int i, mixable, volume = SDL_MIX_MAXVOLUME;
   311     int i, mixable, volume = SDL_MIX_MAXVOLUME;
   312     Uint32 sdl_ticks;
   312     Uint32 sdl_ticks;
   313 
   313