MP3Header :: replaceFrame - Replace MP3 frame in header
The function allows replacing an MP3 frame in an MP3 header.
The value is true when the function was executed successfully. Otherwise the value is set to false.
Implementation overview
- Update MP3 frame text
MP3Header :: replaceFrame ( cMP3Frame ) - Replace MP3 frame at position
MP3Header :: replaceFrame ( cMP3Frame, iPosition )
Implementation details
-
Update MP3 frame text
bool MP3Header  :: replaceFrame ( odaba::utils::MP3Frame &cMP3Frame )
The function locates and replaces the first frame with the identifier from the MP3Frame object passed in rMP3Frame.
When the requested frame could not be found, the function returns false and true when being replaced successfully..
When the MP3 header or the passed header is not valid (isValid()). the function throws an exception.
- cMP3Frame - - internal feature (not documented)
to list
-
Replace MP3 frame at position
bool MP3Header  :: replaceFrame ( odaba::utils::MP3Frame &cMP3Frame, int32 iPosition )
The function locates the frame at position passed in iPosition and replaces it with the frame passed in rMP3Frame.
When the requested frame could not be found, the function returns false and true when being replaced successfully..
When the MP3 header or the passed 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.
to list