Function eat::process::make_rewrite_content_objects_emission

Function Documentation

framework::ProcessPtr eat::process::make_rewrite_content_objects_emission(const std::string &name, int max_objects_depth = 2)

rewrite the programme-content-object structure to make it compatible with emission profile rules

this may drop audioContents or audioObjects that are too nested (only ones that have audioObject references), so any information which applies to the audioObjects below will be lost

max_objects_depth is the maximum nesting depth of any object, which is defined for an object as:

  • 0 for objects which do not contain object references

  • the maximum object depth of any referenced objects, plus 1 for example, of this is 0, object nesting is removed

ports:

  • in_axml (DataPort<ADMData>) : input ADM data

  • out_axml (DataPort<ADMData>) : output ADM data