Edit Data API

 

MaxOmfSdk edit data is exposed to the API through several data structures which correspond to each object. Detailed documentation for each is included with its declaration. These include :

 

    mxOmfProjectInfo_t

    mxOmfInSettings_t

    mxOmfOutSettings_t

 

    mxOmfEventAndSourceInfo_t

    mxOmfTrackInfo_t

    mxOmfEventInfo_t

    mxOmfMasterInfo_t

    mxOmfFileInfo_t

    mxOmfTapeInfo_t

 

Project and Composition

 

mxOmfProjectInfo_t contains data about the project as a whole and the composition, if it has one.

 

mxOmfInSettings_t and mxOmfOutSettings_t reflect many of these same mxOmfProjectInfo_t values together with additional selection and command variables. These are used to interface to external mechanisims, such and OmfInDialog and OmfOutdialog.

 

mxOmfGetProjectInfoToInSettings() populates mxOmfInSettings_t from the Project

 

mxOmfGetProjectInfoToOutSettings() populates mxOmfOutSettings_t from the Project

 

See mxOmfProjectInfo_t for details and related functions.

 

 

Events, Source Components, and Tracks

 

mxOmfEventAndSourceInfo_t collects several structures to form the central data exchange interface for managing events and source clip components. These include - mxOmfTrackInfo_t, mxOmfEventInfo_t, mxOmfMasterInfo_t, mxOmfFileInfo_t, mxOmfTapeInfo_t.

 

mxOmfGetNextTrackInfo() will iterate the Tracks of the composition.

 

mxOmfGetNextEventAndSourceInfo() will iterate the Events of a Track and returning the Event and is source clip components.

 

See mxOmfEventAndSourceInfo_t for details and related functions.

 

 

Source Clip and Lists of Components

 

It is possible to address the global lists of components.

 

mxOmfGetNextSourceClipInfo() will iterate all source clips and their components.

 

mxOmfGetNextTapeInfo() will iterate the list of Tapes.

mxOmfGetNextFileInfo() will iterate the list of Files.

mxOmfGetNextMasterInfo() will iterate the list of Masters.