Harman Logo
AUDIOWORX
  • Home
  • Documentation
  • Videos
  • Release Notes
  • Login
Harman Logo
AUDIOWORX
  • Home
  • Documentation
  • Videos
  • Release Notes
  • Login
Harman Logo
AUDIOWORX
  • Home
  • Documentation
  • Videos
  • Release Notes
  • Login
  • Getting Started
  • User Guides
  • Developer Guides

Table of Content

  • 20

Audio Object Developer Guide

  1. Purpose of this Document
  2. Overview
    1. Audio Object Workflow
    2. Audio Object Class
  3. Audio Object Configuration
    1. Design Time Configuration
      1. Metadata
    2. Advanced Design Time Configuration
      1. Audio Object Memory
  4. Basic Features and APIs
  5. Advanced Features and APIs
    1. Switch Processing State
    2. Debug and Monitoring
    3. Background Method
  6. Audio object Example Object
    1. AO Example - AwxAudioObjExt.cpp
    2. AO Example - AwxAudioObjExtToolbox.cpp
    3. AO Example - AwxAudioObjExtMemRecs.cpp
    4. AO Example - AwxAudioObjExt.h
    5. AO Example - AwxAudioObjExtToolbox.h
    6. AO Example - AwxAudioObjExtMemRecs.h
  7. General Guidelines
  8. Adding External AO into AudioworX Package
  9. Building External Audio Object

Starter Kit Developer Guide

  1. Overview
  2. Assembling and Configuring Starter Kit Components
  3. Setting Up the Developer Environment
  4. SKUtility Developer Options
  5. Build AWX External Object
  6. Running Debug Session

xAF Integration User Guide

  1. Purpose of this Document

Troubleshooting

  1. GTT Installation
  2. GTT GUI Issues
  3. AmpSRV2

      6.3.AO Example - AwxAudioObjExtMemRecs.cpp

      • Audio Object Developer Guide
      • AO Example - AwxAudioObjExtMemRecs.cpp
      //============================================================
      // (C) 2017 Harman International Industries, Incorporated.
      // Confidential & Proprietary. All Rights Reserved.
      // ============================================================
      
      /*!
      *   file      AwxiAudioObjExtMemRecs.cpp
      *   brief     Memory related description Source file
      *   details   Implements the audio object memory related API
      *   details   Project    Extendable Audio Framework
      *   copyright Harman/Becker Automotive Systems GmbH
      *   
             2020
      *   
             All rights reserved
      *   author    xAF Team
      */
      
      /*!
      *   include files required to request the dynamic memory
      */
      #include "AwxAudioObjExtMemRecs.h"
      
      xUInt8 CAwxAudioObjExtMemRecs::getMemRecords(xAF_memRec* memTable, xAF_memRec& scratchRecord, xInt8 target, xInt8 format)
      {
      	xUInt8 numMemRecords = (static_cast(ENABLE_BLOCK) == m_EnMemory) ? static_cast(NUM_MEM_RECORDS) : static_cast(FLOATARRAY);
      	//m_Param memory
          memTable[PARAM].alignment = 4;
          memTable[PARAM].size = static_cast(static_cast(m_NumAudioIn) * NUM_PARAMS_PER_CHANNEL * sizeof(xFloat32));
      	memTable[PARAM].label = "Tuning Parameters";
      
      	//m_Coeff memory
          memTable[COEFF].size = static_cast(static_cast(m_NumAudioIn) * sizeof(xFloat32));
      	memTable[COEFF].alignment = 4;
      	memTable[COEFF].label = "Gain Values";
      
      	//m_MemBlck memory(Abstracted Tuning Memory)
      	if (static_cast(ENABLE_BLOCK) == m_EnMemory)
      	{
      		memTable[FLOATARRAY].size = FLOAT_ARRAY_SIZE * sizeof(xFloat32);
      		memTable[FLOATARRAY].alignment = 4;
      		memTable[FLOATARRAY].label = "Abstracted Tuning Memory values";
      	}
          return numMemRecords;
      }
      
      « AO Example - AwxAudioObjExtToolbox.cppAO Example - AwxAudioObjExt.h »
      Suggest Edit
      • Careers
      • Contact
      • Sitemap
      • News

      © 2025 HARMAN International. All Rights Reserved. Privacy Policy | Cookies | Terms of Use

      If you are using a screen reader and are having problems using this website, please call (800) 645-7484 for assistance.