Process MaxOmfSdk Omf data to selected organization and return
project statistics.
mxOmfUpdateOrganizationOut() organizes the internal Omf data, including
source clip organization and track (channel) mapping, and returns
statistics.
mxOmfOutSettings_t supplies command selection and values for processing.
All values should be current and valid. (See mxOmfGetProjectInfoToOutSettings())
mxOmfOutSettings members of particular importance are:
m_ulOmfTrkAvlV and m_ulOmfTrkAvlA - Supplies track (channel) availability
and mapping. See XXXXXXXXX
m_eSourceClipOrganization - Organization of source clip data
MXOMF_SO_ORIGINALLENGTH - original and full lengths of source clips
MXOMF_SO_CONSOLIDATED - consolidated
MXOMF_SO_ERROR - if not set, defaults to MXOMF_SO_ORIGINALLENGTH
See MXOMF_SO
m_tcCombineInterval - Head and Tail handle and combine interval
applicable only to MXOMF_SO_CONSOLIDATED
If m_tcCombineInterval == MXOMF_NOTTC, defaults
to two seconds
m_bIncludeAudioMedia - If selected, organization honors existing audio media
lengths and boundaries. Applicable only if embedded
audio media exists
See mxOmfOutSettings_t
See MXOMF_SO
See mxOmfOutputStatistics_t
Params:
mxOmfHdl_t hMxOmfHdl - address of SDK pointer from mxOmfCreateOmfSdk()
mxOmfOutputStatistics_t* pMxStatistics - pointer to mxOmfOutputStatistics_t to receive data
mxOmfOutSettings_t* pMxOmfOutSettings - pointer to mxOmfOutSettings_t
Returns:
MXOMFERR_NONE
MXOMFERR_NULLPARAMETER - pMxStatistics or pMxOmfOutSettings param missing
MXOMFERR_SDKHANDLNULL - hMxOmfHdl param is NULL
Usage:
See MXOMFERROR CMaxOmfSdkDemoOmfDoc::PopulateMxEventAndSourceInfo()
See COmfInDlg::UpdateStatistics()
OMFDLL_EXPORT
MXOMFERROR mxOmfUpdateOrganizationOut(mxOmfHdl_t hMxOmfHdl,
mxOmfOutputStatistics_t* pMxStatistics,
mxOmfOutSettings_t* pMxOmfOutSettings);