From 48f1bd62d79ea641b3f7d4029aaac905ee99d89c Mon Sep 17 00:00:00 2001 From: LinWenhai Date: Thu, 13 Nov 2014 15:43:39 +0800 Subject: [PATCH] remove unrelated modification --- .../android/java/src/org/cocos2dx/lib/Cocos2dxMusic.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/cocos/platform/android/java/src/org/cocos2dx/lib/Cocos2dxMusic.java b/cocos/platform/android/java/src/org/cocos2dx/lib/Cocos2dxMusic.java index 72cd5ef4d5..eacfa65fbf 100644 --- a/cocos/platform/android/java/src/org/cocos2dx/lib/Cocos2dxMusic.java +++ b/cocos/platform/android/java/src/org/cocos2dx/lib/Cocos2dxMusic.java @@ -29,7 +29,6 @@ import java.io.FileInputStream; import android.content.Context; import android.content.res.AssetFileDescriptor; -import android.media.AudioManager; import android.media.MediaPlayer; import android.util.Log; @@ -249,7 +248,6 @@ public class Cocos2dxMusic { */ private MediaPlayer createMediaplayer(final String pPath) { MediaPlayer mediaPlayer = new MediaPlayer(); - mediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC); try { if (pPath.startsWith("/")) {