Projects > cpp > Issues > Bug #1623

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

SimpleAudioEngine::playBackgroundMusic() may not take effect on Android

Bug #1623 [Closed]
zhangxm 2012-12-24 07:22 . Updated almost 4 years ago

Some developer reported that, if a background music lies in /data/data/package_path/, and play it like this:

SimpleAudioEngine::playBackgroundMusic(/data/data/xxx);

Then the background music is not played, and will cause an exception.

zhangxm 2012-12-24 10:27
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset commit:59b01ff0e310555a1a96b8ef21ce14a59cacae5b.

Atom PDF

Status:Closed
Start date:2012-12-24
Priority:Normal
Due date:
Assignee:zhangxm
% Done:

100%

Category:android
Target version:cocos2d-2.1beta3-x-2.1.1

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.