version 1.4 | version 1.5 | |||
---|---|---|---|---|
|
| |||
/* Initialise audio devices. */ | /* Initialise audio devices. */ | |||
int digi_init() | int digi_init() | |||
{ | { | |||
if (SDL_InitSubSystem(SDL_INIT_AUDIO)<0){ | ||||
Error("SDL audio initialisation failed: %s.",SDL_GetError()); | ||||
} | ||||
//added on 980905 by adb to init sound kill system | //added on 980905 by adb to init sound kill system | |||
memset(SampleHandles, 255, sizeof(SampleHandles)); | memset(SampleHandles, 255, sizeof(SampleHandles)); | |||
//end edit by adb | //end edit by adb |
Legend: | |
line(s) removed in v.1.4 | |
line(s) changed | |
line(s) added in v.1.5 |