Multimedia file functions

Use the following functions to work with multimedia files:

Function

Description

mmCloseFile

Closes an opened multimedia file and frees intermediate internal resources. If the file was opened in write mode, then mmCloseFile also writes data.

mmGetFileInfo

Obtains detailed information about an opened multimedia file.

mmOpenFile

Opens a multimedia file for read or write operations.

3GP file functions

Use the following functions to randomly access the contents of a 3GP file during a play operation:

Function

Description

mmGetCurrentTime

Obtains the current time elapsed during a play operation.

mmGetSyncPoints

Obtains sync point table information in the file.

mmSeekToNextSyncPoint

Seeks to the next sync point in the file.

mmSeekToPrevSyncPoint

Seeks to the previous sync point in the file.

mmSeekToTime

Seeks to a time relative to the start of the file.

Skew correction functions

Use the following function to set the skew correction in a multimedia file:

Function

Description

mmSetSkewCorrection

Sets the skew correction value in the multimedia file.

SDP functions

Use the following functions to store/retrieve SDP data to/from a multimedia file:

Function

Description

mmSetSDPInfo

Sets the SDP information in the multimedia file.

mmGetSDPInfo

Gets the SDP information from the multimedia file.

Note: These functions may be used as multimedia file functions or multimedia stream functions.