company logo

MP3Header :: insertFrame - Insert MP3 frame in MP3 header

Implementation details

MP3Header  :: insertFrame ( odaba::utils::MP3Frame &cMP3Frame, int32 iPosition )

The function inserts the frame passed in rMP3Frame before the frame at position passed in iPosition. When iPosition is -1 or larger than the last frame position, the frame will be appended.

When the header is not valid (isValid()). the function throws an exception.

  • cMP3Frame - - internal feature (not documented)
  • iPosition - Position in collection

    The position of an element in a collection is beginning with 0 for the first element.