Skip to content

Commit 30f66b5

Browse files
committed
Change test to play ogg file
1 parent 4f71967 commit 30f66b5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cocos2d-ui-tests/tests/ObjectALTest.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,11 @@ - (void) setupSimpleAudioTest
4949

5050
- (void) playSimpleSound:(id)sender
5151
{
52+
#if ANDROID
53+
[[OALSimpleAudio sharedInstance] playEffect:@"Sounds/sound.ogg"];
54+
#else
5255
[[OALSimpleAudio sharedInstance] playEffect:@"Sounds/sound.wav"];
56+
#endif
5357
}
5458

5559

0 commit comments

Comments
 (0)