From 39ca441ca395f253b83de3be046920fdbe15ecbd Mon Sep 17 00:00:00 2001 From: knoxHuang <821686174@qq.com> Date: Wed, 8 Jun 2016 10:35:11 +0800 Subject: [PATCH] add CCAudioSource isPlaying api --- cocos2d/core/components/CCAudioSource.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/cocos2d/core/components/CCAudioSource.js b/cocos2d/core/components/CCAudioSource.js index 8366c8bc00..7dfa76761a 100644 --- a/cocos2d/core/components/CCAudioSource.js +++ b/cocos2d/core/components/CCAudioSource.js @@ -57,8 +57,12 @@ var AudioSource = cc.Class({ _loop: false, /** - * !#en Is the audio source playing (Read Only). - * !#zh 该音频剪辑是否正播放(只读)。 + * !#en + * Is the audio source playing (Read Only).
+ * Note: isPlaying is not supported for Native platforms. + * !#zh + * 该音频剪辑是否正播放(只读)。
+ * 注意:Native 平台暂时不支持 isPlaying。 * @property isPlaying * @type {Boolean} * @readOnly