company logo

MP3Header :: frame - Get MP3 frame

The function provides a frame from the MP3 header. When the header is not valid (isValid()). the function throws an exception. When the requested frame could not be located, the function returns an invalid frame (MP3Frame::isValid()).

Return value:  Reference to MP3Frame handle ( odaba::utils::MP3Frame & )

Implementation overview

Implementation details

  1. Get frame at position
    odaba::utils::MP3Frame & MP3Header  :: frame ( int32 iPosition )

    The function tries to locate a frame with the identifier passed in iPosition. When no frame could be located, the function returns an invalid frame.

    • iPosition - Position in collection

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

  2. to list
  3. Get MP3 frame by identifier
    odaba::utils::MP3Frame & MP3Header  :: frame ( odaba::String &sName )

    The function tries to locate the MP3 Frame with the identifier passed in sName.

    • sName - Name
  4. to list