File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 35
35
#import " kazmath/kazmath.h"
36
36
#import " kazmath/GL/matrix.h"
37
37
38
+ #import " OALSimpleAudio.h"
39
+
38
40
NSString * const CCSetupPixelFormat = @" CCSetupPixelFormat" ;
39
41
NSString * const CCSetupScreenMode = @" CCSetupScreenMode" ;
40
42
NSString * const CCSetupScreenOrientation = @" CCSetupScreenOrientation" ;
@@ -242,6 +244,9 @@ - (void) setupCocos2dWithOptions:(NSDictionary*)config
242
244
// It can be RGBA8888, RGBA4444, RGB5_A1, RGB565
243
245
// You can change this setting at any time.
244
246
[CCTexture setDefaultAlphaPixelFormat: CCTexturePixelFormat_RGBA8888];
247
+
248
+ // Initialise OpenAL
249
+ [OALSimpleAudio sharedInstance ];
245
250
246
251
// Create a Navigation Controller with the Director
247
252
navController_ = [[CCNavigationController alloc ] initWithRootViewController: director];
You can’t perform that action at this time.
0 commit comments