I need to extract the information stored in the Xing and Fraunhofer VBRI headers of MP3 files using TagLib-Sharp.
I\'ve searched around the web for an example, looked at
Something like the following should work:
foreach(ICodec codec in file.Properties.Codecs) {
Mpeg.AudioHeader header = (Mpeg.AudioHeader) codec;
if(header == null)
return;
if(header.XingHeader != Mpeg.XingHeader.Unknown) {
/* CODE HERE */
}
if(header.VBRIHeader != VBRIHeader.Unknown) {
/* CODE HERE */
}
}