mirror of https://github.com/axmolengine/axmol.git
remove unrelated modification
This commit is contained in:
parent
a37549d7bc
commit
48f1bd62d7
|
@ -29,7 +29,6 @@ import java.io.FileInputStream;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.res.AssetFileDescriptor;
|
import android.content.res.AssetFileDescriptor;
|
||||||
import android.media.AudioManager;
|
|
||||||
import android.media.MediaPlayer;
|
import android.media.MediaPlayer;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
|
||||||
|
@ -249,7 +248,6 @@ public class Cocos2dxMusic {
|
||||||
*/
|
*/
|
||||||
private MediaPlayer createMediaplayer(final String pPath) {
|
private MediaPlayer createMediaplayer(final String pPath) {
|
||||||
MediaPlayer mediaPlayer = new MediaPlayer();
|
MediaPlayer mediaPlayer = new MediaPlayer();
|
||||||
mediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC);
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (pPath.startsWith("/")) {
|
if (pPath.startsWith("/")) {
|
||||||
|
|
Loading…
Reference in New Issue