FreeCalypso > hg > fc-magnetite
view components/comlib @ 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 | 53232836b105 |
children |
line wrap: on
line source
# Building comlib.lib CFLAGS="-me -mt -o -pw2 -x -mw" # Defines CPPFLAGS=-DCCDTABLES_EXTERN CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD" CPPFLAGS="$CPPFLAGS -DNEW_FRAME" CPPFLAGS="$CPPFLAGS -DNEW_ENTITY" CPPFLAGS="$CPPFLAGS -D_TARGET_" CPPFLAGS="$CPPFLAGS -DSHARED_VSI" CPPFLAGS="$CPPFLAGS -DALR" CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE" CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON" CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC" CPPFLAGS="$CPPFLAGS -DFF_CPHS" CPPFLAGS="$CPPFLAGS -D_TMS470" CPPFLAGS="$CPPFLAGS -DUART" CPPFLAGS="$CPPFLAGS -DFF_ATI" CPPFLAGS="$CPPFLAGS -DCL_IMEI_CALYPSO_PLATFORM" # Includes CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc" CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc" CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include" CPPFLAGS="$CPPFLAGS -I../../$CDGINC" CPPFLAGS="$CPPFLAGS -I../../$CDGPRIM" CPPFLAGS="$CPPFLAGS -I.." CPPFLAGS="$CPPFLAGS -I../config" CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera" CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app" CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core" CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb" CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio" CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm" CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf" CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma" CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld" CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth" CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif" CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea" CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security" CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi" CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer" CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart" CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd" CPPFLAGS="$CPPFLAGS -I$SRC/cs/system" CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include" CPPFLAGS="$CPPFLAGS -I$SRC/cs/services" # Source modules SRCDIR=$SRC/condat2/com/src/comlib if [ "$SRVC" != 0 ] then cfile_str2ind $SRCDIR/cl_ribu.c fi if [ "$GPRS" = 1 ] then cfile_str2ind $SRCDIR/cl_rlcmac.c fi cfile_str2ind $SRCDIR/cl_md5.c cfile_str2ind $SRCDIR/cl_imei.c cfile_str2ind $SRCDIR/cl_des.c cfile_str2ind $SRCDIR/cl_shrd.c cfile_str2ind $SRCDIR/cl_list.c