GARANTIR DESCONTO

Fórum Tempo de arquivo de áudio #181907

12/09/2003

0

Pq o tempo da música não é indicado corretamente?????

var
MP : TMediaPlayer;
Length : integer;
begin
MP := TMediaPlayer.Create(Self);
MP.Parent := Self;
MP.Visible := false;
MP.TimeFormat := tfHMS;
MP.FileName := ´C:\98.wav´;
MP.Open;
Length := MP.Length;
LabelTempo.Caption := IntToStr(HMSRec(Length).Hours)+´:´+IntToStr(HMSRec(Length).Minutes)+´:´+IntToStr(HMSRec(Length).Seconds);
MP.Play;
end;


Atomix

Atomix

Responder

Utilizamos cookies para fornecer uma melhor experiência para nossos usuários, consulte nossa política de privacidade.

Aceitar