Menu

#16 MP3File.getMpegVersion() returns invalid version (3)?

open
nobody
None
5
2004-07-19
2004-07-19
No

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.

Discussion


Log in to post a comment.