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

fixed audio bug for fireball/issues/7489 #2810

Merged
merged 1 commit into from Jun 6, 2018

Conversation

knoxHuang
Copy link
Contributor

@knoxHuang knoxHuang commented Jun 6, 2018

Re: cocos-creator/fireball#7489 cocos-creator/fireball/issues/7469

Changelog:

  • 修复之前的 audio 优化会导致只能播放单个音频

}
this._element = document.createElement('audio');
this._element.src = elem.src;
this._audioType = Audio.Type.DOM;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

为什么要这样改?

@pandamicro pandamicro merged commit 0017440 into cocos:v1.9-release Jun 6, 2018
@niumeng006
Copy link

1.9.2 的引擎,按照此处的代码对CCaudio.js做了修改,问题还是存在。设备IOS,android暂时没有测出问题

@jareguo
Copy link
Contributor

jareguo commented Jul 5, 2018

1.9.3 重新进行修复了。这几天会放出哈。

@shawngao54521
Copy link

V1.10 还是有这个问题呀。有可能是背景音乐,也有可能是音效。执行以下resume就好了(通过进入后台,再次进入前台)就好了。但是程序无法知道什么时候没有声音呀。总不能告诉用于没有声音了且以下后台吧。

@shawngao54521
Copy link

难道只有v1.9.3修复好了?

@shawngao54521
Copy link

测试了 v1.9.3 还是存在这个问题呀

@liuguolai
Copy link

V1.10 还是有这个问题呀。有可能是背景音乐,也有可能是音效。执行以下resume就好了(通过进入后台,再次进入前台)就好了。但是程序无法知道什么时候没有声音呀。总不能告诉用于没有声音了且以下后台吧。

兄弟我也遇到了,有解决吗?

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

6 participants