company logo

MP3Header :: version - MP3 header version

The ID3 header version is either 3 (ID3v2.3) or 4 (ID3v2.4).

Notes:

Supported tags differ between version 3 and version 4. Changes are listed at http://www.id3.org/id3v2.4.0-changes.

Return value:  ID3 header version ( int32  )

The ID3 header version is a number greater than 0 and less than 255.

Implementation overview

Implementation details

  1. Get current MP3 header version
    int32 MP3Header  :: version (  )

    The function returns the current header version number. When the header is invalid, the function throws an exception.

  2. to list
  3. Set MP3 header version
    int32 MP3Header  :: version ( int32 iID3Version )

    The function sets the MP3 header version to the value passed in iID3Version. When the header is not valid or when the value is greater than 254, the function throws an exception.

    • iID3Version - ID3 header version

      The ID3 header version is a number greater than 0 and less than 255.

  4. to list