About ATL
The ATL provides programming tools for Borland Delphi 3, 4, 5, 6, 7.
The pack includes several components described below
AAC - for manipulating with AAC file information
APE Tag - for manipulating with APE Tags
CDDA Track - for getting information for CDDA track
FLAC - for manipulating with FLAC file information
fpl - reads foobar2000 playlist files (*.fpl)
ID3v1 - for manipulating with ID3v1 tags
ID3v2 - for manipulating with ID3v2 tags
Monkey - for manipulating with Monkey's Audio file information
MPEG Audio - for manipulating with MPEG audio file information
Musepack - for manipulating with Musepack file information
Ogg Vorbis - for manipulating with Ogg Vorbis file information
OptimFROG - for manipulating with OptimFROG file information
TwinVQ - for extracting information from TwinVQ file header
Vorbis Comment - for manipulating with Vorbis Comments
WAV - for manipulating with WAV files
WavPack - for manipulating with WAVPack Files
WMAfile - for extracting information from WMA file header
mac.sourceforge.net/atl/
Quelltext
1: 2: 3: 4: 5: 6: 7: 8: 9:
| function DurationMinSec(Secunden : string) : string; var Min, Sec : integer; SecToTime : string; begin Min:= StrToInt(Secunden) div 60; Sec:= StrToInt(Secunden) - Min * 60; SecToTime:= Format('%2d:%.2d', [Min, Sec]); result:= SecToTime; end; |