WMAFile bug doesn't read track number
Brought to you by:
macteam
In WMAFile.pas from Delphi Audio Tools Library, there
is a bug that strikes when there is an IsVBR (boolean)
header value present, or probably any non-string header
value. Also the track number should be read from the
TrackNumber tag, not the Track tag, because (at least
in some files) Track is a DWORD and the WMAFile code
will only work if it's a string. Attached a fixed
WMAFile.pas.
Fixed WMAFile.pas