company logo

MP3Header :: frame - Get MP3 frame

The function provides a frame from the MP3 header.

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. Otherwise, an MP3Frame handle referring to the requested frame object will be returned.

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

    • 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 MP3Frame handle for the identifier passed in sName. When the header contains more than one frame with the requested identifier, the first of theses frame will be returned.

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

    • sName - Name
  4. to list