FreeCalypso > hg > tcs211-l1-reconst
comparison chipsetsw/services/Audio/audio_pool_size.h @ 0:509db1a7b7b8
initial import: leo2moko-r1
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 01 Jun 2015 03:24:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:509db1a7b7b8 |
---|---|
1 /** | |
2 * @file audio_pool_size.h | |
3 * | |
4 * Declarations of: | |
5 * - the memory bank sizes and their watermark | |
6 * - the SWE stack size | |
7 * - the pool size needed (generally the sum of memory bank and stack sizes) | |
8 * | |
9 * @author Vincent Oberle | |
10 * @version 0.1 | |
11 */ | |
12 | |
13 /* | |
14 * History: | |
15 * | |
16 * Date Author Modification | |
17 * ------------------------------------------------------------------- | |
18 * 07/08/2003 Vincent Oberle Extracted from rvf_pool_size.h | |
19 * | |
20 * (C) Copyright 2003 by Texas Instruments Incorporated, All Rights Reserved | |
21 */ | |
22 | |
23 #ifndef __AUDIO_POOL_SIZE_H_ | |
24 #define __AUDIO_POOL_SIZE_H_ | |
25 | |
26 | |
27 #ifndef _WINDOWS | |
28 #include "l1sw.cfg" | |
29 #include "swconfig.cfg" | |
30 #endif | |
31 | |
32 | |
33 /* | |
34 * Values used in audio_env_i.h | |
35 */ | |
36 #define AUDIO_STACK_SIZE (1280) | |
37 #define AUDIO_MB1_SIZE (512) | |
38 #define AUDIO_MB2_SIZE (2000) | |
39 | |
40 #if (GSMLITE) | |
41 #define AUDIO_MB3_SIZE (0) | |
42 #elif (SPEECH_RECO) | |
43 #define AUDIO_MB3_SIZE (7382) | |
44 #else | |
45 #define AUDIO_MB3_SIZE (2048) | |
46 #endif | |
47 | |
48 #define AUDIO_POOL_SIZE (AUDIO_STACK_SIZE + \ | |
49 AUDIO_MB1_SIZE + AUDIO_MB2_SIZE + AUDIO_MB3_SIZE) | |
50 | |
51 | |
52 #define AUDIO_BGD_STACK_SIZE (512) | |
53 #define AUDIO_BGD_MB1_SIZE (256) | |
54 | |
55 #define AUDIO_BGD_POOL_SIZE (AUDIO_BGD_STACK_SIZE + AUDIO_BGD_MB1_SIZE) | |
56 | |
57 | |
58 #endif /*__AUDIO_POOL_SIZE_H_*/ |