MP3File.getMpegVersion() returns invalid version (3)?
Status: Beta
Brought to you by:
efarng
I think there is some mix up in the code for the MPEG
version, which I think is meant to come from the MPEG
ID header value, which is either 0 or 1. This is read
in the MP3File.readFrameHeader() method, and set using
the TagConstant.MASK_MP3_VERSION constant, which I
think should be TagConstant.MASK_MP3_ID instead.
Perhaps I am trying to use this method incorrectly, but
I don't see another way to get the MPEG ID from the
MP3File class.