From: Sandro S. <st...@us...> - 2008-12-19 17:39:25
|
Update of /cvsroot/ming/ming/test/Movie/setSoundStream In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv2829/test/Movie/setSoundStream Modified Files: test01.php test02.php test03.php Log Message: Fix php tests run out of source tree Index: test01.php =================================================================== RCS file: /cvsroot/ming/ming/test/Movie/setSoundStream/test01.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** test01.php 24 Jun 2008 21:53:13 -0000 1.2 --- test01.php 19 Dec 2008 17:39:18 -0000 1.3 *************** *** 3,8 **** <? $m = new SWFMovie(7); ! $m->streamMP3("../../Media/audio01.mp3"); for($i = 0; $i < 200; $i++) $m->nextFrame(); --- 3,10 ---- <? + $srcdir = $argv[1]; + $m = new SWFMovie(7); ! $m->streamMP3($srcdir . "/../../Media/audio01.mp3"); for($i = 0; $i < 200; $i++) $m->nextFrame(); Index: test03.php =================================================================== RCS file: /cvsroot/ming/ming/test/Movie/setSoundStream/test03.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** test03.php 24 Jun 2008 21:53:13 -0000 1.1 --- test03.php 19 Dec 2008 17:39:18 -0000 1.2 *************** *** 3,8 **** <? $m = new SWFMovie(7); ! $sound = new SWFSoundStream("../../Media/nellymoser.flv"); $m->setSoundStream($sound); --- 3,10 ---- <? + $srcdir = $argv[1]; + $m = new SWFMovie(7); ! $sound = new SWFSoundStream($srcdir . "/../../Media/nellymoser.flv"); $m->setSoundStream($sound); Index: test02.php =================================================================== RCS file: /cvsroot/ming/ming/test/Movie/setSoundStream/test02.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** test02.php 24 Jun 2008 21:49:16 -0000 1.1 --- test02.php 19 Dec 2008 17:39:18 -0000 1.2 *************** *** 3,8 **** <? $m = new SWFMovie(7); ! $sound = new SWFSoundStream("../../Media/video02.flv"); $m->setSoundStream($sound); --- 3,10 ---- <? + $srcdir = $argv[1]; + $m = new SWFMovie(7); ! $sound = new SWFSoundStream($srcdir . "/../../Media/video02.flv"); $m->setSoundStream($sound); |