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

fix audio can't play #7341

Merged
merged 1 commit into from Sep 9, 2020
Merged

fix audio can't play #7341

merged 1 commit into from Sep 9, 2020

Conversation

PPpro
Copy link
Contributor

@PPpro PPpro commented Sep 9, 2020

resolve:
cocos/2d-tasks#3071
cocos/2d-tasks#3078

Changes:

  • 修复音频不能播放的问题

在 AudioSource 的 play 操作里进行 stop 是多余的
猜测平台底层实现,在音频加载完成之前的请求没有做排队,导致 stop 后 play , 在加载完成后没有播放
WechatIMG40

@PPpro PPpro requested a review from holycanvas Sep 9, 2020
@holycanvas holycanvas merged commit 9bfe66f into cocos:v2.4.3-release Sep 9, 2020
1 check passed
@PPpro PPpro deleted the 243_audio branch Sep 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants