Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add audio stop fix 2d-tasks/issues/1447 #92

Merged

Conversation

Projects
None yet
3 participants
@knoxHuang
Copy link

commented May 22, 2019

�相关 issue:cocos-creator/2d-tasks#1447

修改 stop 函数,直接调用微信小游戏的 stop 即可,之前的 stop 是先 pause 音频,然后设置 crrentTime 为 0,这个方法不适用于微信小游戏会变成 stop 后,获取 crrrentTime 还是原来的数值,不会归 0

@pandamicro pandamicro merged commit db0b8ae into cocos-creator-packages:v2.0.10-release May 22, 2019

@jareguo

This comment has been minimized.

Copy link

commented May 23, 2019

修复微信小游戏在安卓平台上音频重新时无法重头播放的问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.