浏览代码

revert changes

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@8469 8c9fc860-2736-0410-a75d-ab315db34111
eth.metacore 6 年之前
父节点
当前提交
73264a7371
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      source/MediaPlayer.Mod

+ 2 - 2
source/MediaPlayer.Mod

@@ -696,7 +696,7 @@ TYPE
 
 		(* Set position *)
 		PROCEDURE SetPos*(pos: LONGINT);
-		VAR current : Context;  audioPos : LONGINT; res : WORD; img : WMGraphics.Image;
+		VAR current : Context;  audioPos, res : LONGINT; img : WMGraphics.Image;
 		BEGIN {EXCLUSIVE}
 			IF pos < 0 THEN
 				IF Debug THEN KernelLog.String("MediaPlayer: Warning: Setpos to "); KernelLog.Int(pos, 0); KernelLog.String("!?!"); KernelLog.Ln; END;
@@ -1205,7 +1205,7 @@ TYPE
 
 		(* Resume playing the curent and next context that are paused *)
 		PROCEDURE ResumeIntern;
-		VAR audioPos : LONGINT; res: WORD;
+		VAR audioPos, res : LONGINT;
 		BEGIN
 			IF (current # NIL) THEN
 				IF current.hasVideo THEN