MP3Header :: removeFrame - Remove MP3 frame from header
The function removes an MP3 frame from the header.
Return value: Success ( bool )
The value is true when the function was executed successfully. Otherwise the value is set to false.
Implementation overview
- Remove frame with passed identifier
MP3Header :: removeFrame ( sName ) - Remove frame at given position
MP3Header :: removeFrame ( iPosition )
Implementation details
-
Remove frame with passed identifier
bool MP3Header  :: removeFrame ( odaba::String &sName )
The function removes the first frame with the identifier passed in sName. When the requested frame could not be found, the function returns false and true when being removed successfully..
When the header is not valid (isValid()). the function throws an exception.
- sName - Name
to list
-
Remove frame at given position
bool MP3Header  :: removeFrame ( int32 iPosition )
The function removes the first frame at position passed in iPosition. First frame has position 0. When no frame could be located at passed position
- 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