Use Java audio for all devices while compatibility is tested.

This commit is contained in:
folecr 2013-07-24 11:05:08 -07:00
parent 2d7d918fa5
commit ca8bc2ca4a
1 changed files with 5 additions and 4 deletions

View File

@ -33,11 +33,12 @@ namespace CocosDenshion {
SimpleAudioEngine* SimpleAudioEngine::sharedEngine() {
if (! s_pEngine) {
if (CocosDenshion::android::is_buggy_device()) {
// if (CocosDenshion::android::is_buggy_device()) {
// use the Java Audio implementation until compatibility is confirmed
s_pEngine = new CocosDenshion::android::AndroidJavaEngine();
} else {
s_pEngine = new CocosDenshion::android::OpenSLEngine();
}
// } else {
// s_pEngine = new CocosDenshion::android::OpenSLEngine();
// }
}
return s_pEngine;