ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/Client.xs
(Generate patch)

Comparing deliantra/Deliantra-Client/Client.xs (file contents):
Revision 1.72 by root, Fri May 5 19:10:16 2006 UTC vs.
Revision 1.74 by root, Sat May 6 20:14:57 2006 UTC

277{ 277{
278 SDL_UserEvent ev; 278 SDL_UserEvent ev;
279 279
280 ev.type = SDL_USEREVENT; 280 ev.type = SDL_USEREVENT;
281 ev.code = 1; 281 ev.code = 1;
282 ev.data1 = (void *)channel; 282 ev.data1 = (void *)(long)channel;
283 ev.data2 = 0; 283 ev.data2 = 0;
284 284
285 SDL_PushEvent ((SDL_Event *)&ev); 285 SDL_PushEvent ((SDL_Event *)&ev);
286} 286}
287 287
514 XPUSHs (sv_2mortal (newRV_noinc ((SV *)hv))); 514 XPUSHs (sv_2mortal (newRV_noinc ((SV *)hv)));
515 } 515 }
516} 516}
517 517
518int 518int
519Mix_OpenAudio (int frequency = 22050, int format = MIX_DEFAULT_FORMAT, int channels = 1, int chunksize = 512) 519Mix_OpenAudio (int frequency = 48000, int format = MIX_DEFAULT_FORMAT, int channels = 1, int chunksize = 2048)
520 POSTCALL: 520 POSTCALL:
521 Mix_HookMusicFinished (music_finished); 521 Mix_HookMusicFinished (music_finished);
522 Mix_ChannelFinished (channel_finished); 522 Mix_ChannelFinished (channel_finished);
523 523
524void 524void

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines