Changeset 26 for trunk/Classes/sound.mm
- Timestamp:
- 2010-05-28 07:39:52 (2 years ago)
- File:
-
- 1 edited
-
trunk/Classes/sound.mm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Classes/sound.mm
r19 r26 22 22 #ifdef __IPHONEOS__ 23 23 #include "iSound.h" 24 iSound *gSound ;24 iSound *gSound = NULL; 25 25 #else 26 26 #include "SDL_mixer.h" … … 347 347 // if(SDL_InitSubSystem(SDL_INIT_AUDIO) == -1) 348 348 // return false; 349 350 gSound = new iSound();349 if (gSound == NULL) 350 gSound = new iSound(); 351 351 352 352 if(!mix_ok) { … … 422 422 423 423 if (music || sound || bell || UI_sound) { 424 sound::close_sound();424 // sound::close_sound(); 425 425 if (!sound::init_sound()) { 426 426 // ERR_AUDIO << "Error initializing audio device: " << Mix_GetError() << "\n";
Note: See TracChangeset
for help on using the changeset viewer.