请教:用mediaplayer查wma的长度,timeformat设为tfmsf,tfframes,tfmilliseconds后,为什么得到的值都是一样的?

请教:用mediaplayer查wma的长度,timeformat设为tfmsf,tfframes,tfmilliseconds后,为什么得到的值都是一样的? Delphi / Windows SDK/API
http://www.delphi2007.net/DelphiMultimedia/html/delphi_20061109202822165.html
mp.TimeFormat:=tfMilliseconds;  
      mp.FileName:='c:\001.wma';  
      mp.Open;  
      showmessage(inttostr(mp.Length));  
   
      mp.TimeFormat:=tfMSF;  
      showmessage(inttostr(mp.Length));  
   
      mp.TimeFormat:=tfFrames;  
      showmessage(inttostr(mp.Length));  
   
  我用上述代码查001.wma的长度,同样一个文件,为什么得到同样的值呢?  
   
 
posted on 2008-11-05 09:31  delphi2007  阅读(107)  评论(0编辑  收藏  举报