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
- Get frame at position
MP3Header :: frame ( iPosition ) - Get MP3 frame by identifier
MP3Header :: frame ( sName )
Implementation details
-
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.
to list
- iPosition
- Position in collection
-
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
to list