From 64b2562e1f4d32abb2b74ab0430be8f13c69ce6d Mon Sep 17 00:00:00 2001 From: Dhilan007 <wenhai.lin@chukong-inc.com> Date: Mon, 12 May 2014 15:22:57 +0800 Subject: [PATCH] fixed compile fail on android. --- .../android/java/src/org/cocos2dx/lib/Cocos2dxVideoView.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cocos/2d/platform/android/java/src/org/cocos2dx/lib/Cocos2dxVideoView.java b/cocos/2d/platform/android/java/src/org/cocos2dx/lib/Cocos2dxVideoView.java index 7ea5c007f7..a9f9fc710a 100644 --- a/cocos/2d/platform/android/java/src/org/cocos2dx/lib/Cocos2dxVideoView.java +++ b/cocos/2d/platform/android/java/src/org/cocos2dx/lib/Cocos2dxVideoView.java @@ -682,10 +682,9 @@ public class Cocos2dxVideoView extends SurfaceView implements MediaPlayerControl // TODO Auto-generated method stub return true; } - - @Override + public int getAudioSessionId () { // TODO Auto-generated method stub - return 0; + return mMediaPlayer.getAudioSessionId(); } }