Discussion:
Get File Heading Info - Duration
(too old to reply)
Roger
2007-11-21 18:02:41 UTC
Permalink
I would like to access the "Duration" that is listed in file information
for files such as "*.mp3" but I have no idea what commands to use. Any
guidance would be appreciated.

Thanks,
Roger
Remy Lebeau (TeamB)
2007-11-21 21:06:05 UTC
Permalink
Post by Roger
I would like to access the "Duration" that is listed in file
information for files such as "*.mp3" but I have no idea
what commands to use.
Simply open the file for normal reading, such as with the VCL FileOpen()
function, or the Win32 API CreateFile() function. Then read the header
bytes using FileRead() or ReadFile(). You can go to http://www.wotsit.org
to look up the MP3 format spec.


Gambit
Roger
2007-11-22 00:24:26 UTC
Permalink
Thanks, Remy.
Post by Remy Lebeau (TeamB)
Simply open the file for normal reading, such as with the VCL FileOpen()
function, or the Win32 API CreateFile() function. Then read the header
bytes using FileRead() or ReadFile(). You can go to http://www.wotsit.org
to look up the MP3 format spec.
Gambit
Loading...