{"id":11127,"date":"2020-09-17T18:42:39","date_gmt":"2020-09-17T16:42:39","guid":{"rendered":"https:\/\/demdlx704as001.ad.harman.com\/?p=11127"},"modified":"2020-09-17T18:42:39","modified_gmt":"2020-09-17T16:42:39","slug":"bao-object-configuration","status":"publish","type":"post","link":"https:\/\/audioworx.transfunnel.co\/old\/?p=11127","title":{"rendered":"BAO Object Configuration"},"content":{"rendered":"<p>Basic audio objects (BAOs) can be linked individually, versus linking all of them, to optimize memory.<\/p>\n<p>All BAO&#8217;s are always compiled, but linking is controlled by modifying a file which includes object ID&#8217;s.\u00a0 Simply comment out an object ID definition from the header belowand re-run the cmake to stop linking an object.<\/p>\n<p><em>AudioObjectIDs.h<\/em><\/p>\n<p>By default, this file is used by the internal CMAKE to select which BAO&#8217;s are linked.\u00a0 It is located in <em>public\/include<\/em>.\u00a0 <em>Note, AudioIO and ControlIn are\u00a0always linked.\u00a0\u00a0<\/em>Users can edit this file directly, or supply their own file.<\/p>\n<p>To supply your own AudioObjectID header :<\/p>\n<ul>\n<li>Copy the existing\u00a0<em>AudioObjectIDs.h\u00a0<\/em>file to use as your base (these ID&#8217;s are important! do not change)<\/li>\n<li>In your CMAKE which calls the external\/src cmake, set the variable below to your header file path\n<ul>\n<li>ID_PATH_BAO<\/li>\n<\/ul>\n<\/li>\n<li>If you do not set this variable, the script will default to the file in public\/include<\/li>\n<\/ul>\n<p>What happens:<\/p>\n<ul>\n<li>CMAKE runs a python script which crosschecks all ID&#8217;s provided to it through headers, with the include paths provided. (BAO header paths are provided for you)<\/li>\n<li>All successful matches are added to the external audio object switch statement that creates the objects.\u00a0 This is the only actual reference to the class, and causes the linkage.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Basic audio objects (BAOs) can be linked individually, versus linking all of them, to optimize memory. All BAO&#8217;s are always compiled, but linking is controlled by modifying a file which includes object ID&#8217;s.\u00a0 Simply comment out an object ID definition from the header belowand re-run the cmake to stop linking an object. AudioObjectIDs.h By default, [&hellip;]<\/p>\n","protected":false},"author":30,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","footnotes":"","ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"off","ocean_gallery_id":[]},"categories":[1],"tags":[],"coauthors":[181],"_links":{"self":[{"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=\/wp\/v2\/posts\/11127"}],"collection":[{"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=\/wp\/v2\/users\/30"}],"replies":[{"embeddable":true,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11127"}],"version-history":[{"count":1,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=\/wp\/v2\/posts\/11127\/revisions"}],"predecessor-version":[{"id":11128,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=\/wp\/v2\/posts\/11127\/revisions\/11128"}],"wp:attachment":[{"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11127"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11127"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11127"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=%2Fwp%2Fv2%2Fcoauthors&post=11127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}