view src/cs/services/audio/audio_var_i.h @ 701:35e7f9d0379f

targets: add TARGET_HAS_BUZZER to c11x, c139 and dsample This new target config preprocessor symbol was introduced in Tourmaline in connection with the new approach to playing buzzer melodies via PWT, properly omitting the responsible code on targets where BU output controls the vibrator instead. That code is not present in Magnetite and we have no plans to backport it here, but target header files should be kept consistent between the two trees, especially given that we plan to support FC Venus target in Magnetite.
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 26 Mar 2022 19:51:34 +0000
parents 838eeafb0051
children
line wrap: on
line source

/********************************************************************************/
/*                                                                              */
/*    File Name:   audio_var_i.h                                                */
/*                                                                              */
/*    Purpose:     This header contains the global variables                    */
/*                 that are used by the AUDIO layer.                            */
/*                                                                              */
/*    Note:                                                                     */
/*        None.                                                                 */
/*                                                                              */
/*    Revision History:                                                         */
/*       11 May 01     Francois Mazard - Stephanie Gerthoux        Create       */
/*                                                                              */
/* (C) Copyright 2001 by Texas Instruments Incorporated, All Rights Reserved.   */
/*                                                                              */
/********************************************************************************/
  #ifndef _AUDIO_VAR_I_H_
    #define _AUDIO_VAR_I_H_

    #ifdef __cplusplus
      extern "C"
      {
    #endif

    /* Define a pointer to the Global Environment Control block  */
  extern T_AUDIO_ENV_CTRL_BLK *p_audio_gbl_var;

    #ifdef __cplusplus
      }
    #endif
  #endif /* _AUDIO_VAR_I_ */