0
|
1 /*
|
|
2 +--------------------------------------------------------------------+
|
|
3 | PROJECT: MMI-Framework (8417) $Workfile:: mfw_aud.h $|
|
|
4 | $Author:: NDH $Revision:: 1 $|
|
|
5 | CREATED: 04.02.03 $Modtime:: 10.04.00 14:58 $|
|
|
6 | STATE : code |
|
|
7 +--------------------------------------------------------------------+
|
|
8
|
|
9 MODULE : MFW_AUD
|
|
10
|
|
11 PURPOSE : This module contains the definitions for the Audio Riveria Interface.
|
|
12
|
|
13 */
|
|
14
|
|
15 /*
|
|
16 ** Voice Memo Functions Prototypes
|
|
17 */
|
|
18
|
|
19 SHORT mfw_aud_vm_delete_file(void);
|
|
20 SHORT mfw_aud_vm_start_playback(void (*callback_fn)(void *));
|
|
21 SHORT mfw_aud_vm_stop_playback(void (*callback_fn)(void *));
|
|
22 SHORT mfw_aud_vm_start_record(UBYTE max_duration, void (*callback_fn)(void *));
|
|
23 SHORT mfw_aud_vm_stop_record(void (*callback_fn)(void *));
|
|
24 UBYTE mfw_aud_vm_get_duration(void);
|
|
25 void mfw_aud_vm_set_duration(UBYTE duration);
|
|
26
|
|
27 /*
|
|
28 ** Layer1 Audio interface functions
|
|
29 */
|
|
30 void mfw_aud_l1_enable_vocoder ( void );
|
|
31 void mfw_aud_l1_disable_vocoder ( void );
|
|
32
|
|
33
|
|
34
|
|
35 /*
|
|
36 ** Voice Memo Return Values
|
|
37 */
|
|
38
|
|
39 #define MFW_AUD_VM_OK (0)
|
|
40 #define MFW_AUD_VM_RIVIERA_FAILED (-1)
|
|
41 #define MFW_AUD_VM_MEM_FULL (-2)
|
|
42 #define MFW_AUD_VM_MEM_EMPTY (-3)
|
|
43
|