--- C:/AmpView-master/wlx/AmpView.lpr Mon Mar 16 06:58:52 2015
+++ C:/AmpView-master/wlx/AmpView.lpr Thu Aug 27 17:56:49 2015
@@ -13 +13 @@
- NumOfBaseExt=19;
+ NumOfBaseExt=41;
@@ -16 +16,3 @@
- 'mtm', 'mod', 'umx', 'mid', 'midi', 'kar', 'rmi');
+ 'mtm', 'mod', 'umx', 'mid', 'midi', 'kar', 'rmi', 'aac', 'm4a',
+ 'm4b', 'mp4', 'ac3', 'adx', 'aix', 'ape', 'mac', 'flac', 'fla',
+ 'oga', 'mpc', 'mp+', 'mpp', 'ofr', 'ofs', 'opus', 'spx', 'tak', 'tta', 'wv');
@@ -51,0 +54 @@
+ st: integer;
@@ -67,0 +71 @@
+ FileExt:=LowerCase(FileExt);
@@ -85 +89,4 @@
- sleep(2000); // ждём, пока AmpView откроет файл
+ //sleep(2000); // ждём, пока AmpView откроет файл
+ st:=GetTickCount();
+ while (GetTickCount() - st < 2000) and (FindWindow('TAmpViewMainForm', nil) = 0) do
+ Sleep(10); |