From e124593a5c5b8d6af608a6027c793ccd2bf924c6 Mon Sep 17 00:00:00 2001 From: Wenhai Lin Date: Tue, 30 Jun 2015 15:38:24 +0800 Subject: [PATCH] AudioEngine:Fixed play audio may fail(error code:-1) on iOS --- cocos/audio/apple/AudioEngine-inl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/audio/apple/AudioEngine-inl.h b/cocos/audio/apple/AudioEngine-inl.h index 365afcf3cc..862690411a 100644 --- a/cocos/audio/apple/AudioEngine-inl.h +++ b/cocos/audio/apple/AudioEngine-inl.h @@ -36,7 +36,7 @@ NS_CC_BEGIN namespace experimental{ -#define MAX_AUDIOINSTANCES 32 +#define MAX_AUDIOINSTANCES 24 class AudioEngineThreadPool;