FreeCalypso > hg > tcs211-l1-reconst
comparison chipsetsw/services/Audio/tests/audio_test.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 /* */ | |
3 /* File Name: audio_test.h */ | |
4 /* */ | |
5 /* Purpose: This file contains the definition usefull for an generic audio */ | |
6 /* test. */ | |
7 /* */ | |
8 /* Note: None. */ | |
9 /* */ | |
10 /* Version 0.1 */ | |
11 /* */ | |
12 /* Date Modification */ | |
13 /* ----------------------------------------------------------------------------*/ | |
14 /* 14 May 2001 Create */ | |
15 /* */ | |
16 /* Author Francois Mazard - Stephanie Gerthoux */ | |
17 /* */ | |
18 /* (C) Copyright 2001 by Texas Instruments Incorporated, All Rights Reserved */ | |
19 /********************************************************************************/ | |
20 | |
21 #ifndef _AUDIO_TEST_H_ | |
22 #define _AUDIO_TEST_H_ | |
23 | |
24 #include "rvf/rvf_api.h" | |
25 #include "tests/rv/rv_test_filter.h" | |
26 | |
27 #if ((AUDIO_REGR == SW_COMPILED) || (AUDIO_MISC == SW_COMPILED)) | |
28 | |
29 /* structure only use for test purpose in PC */ | |
30 typedef struct | |
31 { | |
32 /* variable to set the number of speech reco model in a database */ | |
33 UINT8 vocabuary_size; | |
34 /* variable to detect if the call back function was called */ | |
35 INT8 audio_call_back_called; | |
36 /* structure for the audio mode configuration test */ | |
37 T_AUDIO_MODE audio_mode_1; | |
38 /* structure for the audio mode configuration test */ | |
39 T_AUDIO_MODE audio_mode_2; | |
40 /* structure for the audio spekaer volume test */ | |
41 T_AUDIO_SPEAKER_LEVEL speaker_volume_1; | |
42 /* structure for the audio spekaer volume test */ | |
43 T_AUDIO_SPEAKER_LEVEL speaker_volume_2; | |
44 #ifdef _WINDOWS | |
45 /* structure used to simulate the NDB API memory */ | |
46 T_NDB_MCU_DSP ndb_memory; | |
47 /* structure used to simulate the param API memory */ | |
48 T_PARAM_MCU_DSP param_memory; | |
49 #endif | |
50 /* addr_id of the test entity */ | |
51 T_RVF_ADDR_ID test_addr_id; | |
52 } T_AUDIO_TEST; | |
53 | |
54 /* Define the global variables used with AUDIO test level */ | |
55 extern T_RVF_MB_ID mb_audio_test; | |
56 extern T_AUDIO_TEST *p_audio_test; | |
57 /* Define the parameters used with AUDIO test level */ | |
58 | |
59 /* Define the macros used with AUDIO test level */ | |
60 | |
61 /* Define function prototypes used with AUDIO test level */ | |
62 | |
63 #endif /* #if (AUDIO_REGR == SW_COMPILED) || (AUDIO_MISC == SW_COMPILED)) */ | |
64 #endif |