FreeCalypso > hg > fc-magnetite
view src/cs/services/audio/audio_bgd/audio_bgd_const_i.h @ 700:800bf29abf31
audio mode load change from Tourmaline
Our FreeCalypso universe now has two kinds of audio mode config files:
the old 164 byte kind and the new 176 byte kind. We are not enabling
L1_NEW_AEC in Magnetite, only in Tourmaline, thus 164 byte audio mode
files are still native to Magnetite. But we still desire graceful
handling of the situation when a running Magnetite fw may load a
176 byte audio mode file (presumably with new AEC config), thus we
incorporate the same audio mode loading change which we implemented
in Tourmaline: if the loaded audio mode file is of the wrong kind,
the AEC config is cleared to default disabled state.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 30 Jul 2021 03:55:52 +0000 |
parents | 838eeafb0051 |
children |
line wrap: on
line source
/****************************************************************************/ /* */ /* File Name: audio_bgd_const_i.h */ /* */ /* Purpose: Internal constants used by AUDIO BACKGROUND instance */ /* */ /* */ /* Version 1 */ /* */ /* Date Modification */ /* ------------------------------------ */ /* 19 June 2003 Creation */ /* */ /* Author Frederic Turgis */ /* */ /* */ /* (C) Copyright 2001 by Texas Instruments Incorporated, All Rights Reserved*/ /****************************************************************************/ #include "rv/rv_defined_swe.h" #ifdef RVM_AUDIO_BGD_SWE #ifndef __AUDIO_CONST_I_H_ #define __AUDIO_CONST_I_H_ #include "rvf/rvf_api.h" #ifdef __cplusplus extern "C" { #endif /* the task processes events with no time-out */ #define AUDIO_BGD_NOT_TIME_OUT (0) /* The audio background entity processes only the message sent to the following mail box */ #define AUDIO_BGD_MBOX (RVF_TASK_MBOX_0) /* The audio entity takes into account only the following events: */ #define AUDIO_BGD_TASK_MBOX_EVT_MASK (RVF_TASK_MBOX_0_EVT_MASK) /* The audio background entity waits all event type */ #define AUDIO_BGD_ALL_EVENT_FLAGS (0xFFFF) #ifdef __cplusplus } #endif #endif // #ifndef __AUDIO_CONST_I_H_ #endif // #ifdef RVM_AUDIO_BGD_SWE