FreeCalypso > hg > freecalypso-sw
view gsm-fw/L1/audio_include/l1audio_proto.h @ 884:353daaa6014d
gsm-fw/gpf/conf/gsmcomp.c: increased max partition in the voice-only config
The code we got from TCS211 had the maximum prim pool partition size set to
900 bytes in the voice-only config (no FAX_AND_DATA, no GPRS) and to 1600 bytes
in every other config. As it turns out, this "minimized" config breaks when
the AT command interface is used with %CPI enabled, as the responsible code in
ATI does an ACI_MALLOC of 1012 bytes. TI may have considered this case to be
unsupported usage (perhaps they didn't care about the combination of a
voice-only PS with AT command control), but we do want this use case to work
without crashing. Solution: I made the largest prim pool the same as it is
with FAX_AND_DATA: 3 partitions of 1600 bytes.
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Sat, 27 Jun 2015 07:31:30 +0000 |
parents | d638de8cc6b8 |
children |
line wrap: on
line source
/************* Revision Controle System Header ************* * GSM Layer 1 software * L1AUDIO_PROTO.H * * Filename l1audio_proto.h * Copyright 2004 (C) Texas Instruments * ************* Revision Controle System Header *************/ #if (AUDIO_TASK == 1) #ifndef _L1AUDIO_PROTO_H_ #define _L1AUDIO_PROTO_H_ // Functions declared in l1audio_afunc.c void l1a_audio_send_confirmation(UWORD32 SignalCode); void l1a_audio_send_result (UWORD32 SignalCode, xSignalHeaderRec *msg, UWORD8 queue); #if (SPEECH_RECO) void l1_send_sr_background_msg (UWORD32 SignalCode); #endif #if (MELODY_E2) void l1_send_melody_e2_background_msg(UWORD32 SignalCode, UWORD8 melody_id); #endif #if (OP_L1_STANDALONE == 0) void * mem_Allocate(UWORD16 size); void mem_Deallocate(void *memoryBlock); #endif #endif // _L1AUDIO_PROTO_H_ #endif // AUDIO_TASK