-
Notifications
You must be signed in to change notification settings - Fork 2
/
sink_audio_prompts.h
97 lines (64 loc) · 2.2 KB
/
sink_audio_prompts.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
/****************************************************************************
Copyright (C) Cambridge Silicon Radio Ltd. 2004 - 2015.
FILE NAME
sink_audio_prompts.h
DESCRIPTION
header file which defines the interface between the audio (voice) prompts and the application
*/
#ifndef SINK_AUDIO_PROMPTS_H
#define SINK_AUDIO_PROMPTS_H
#include "sink_debug.h"
#define AUDIO_PROMPT_NOT_DEFINED (0xFF)
/****************************************************************************
*/
void AudioPromptConfigure( uint8 size_index );
/****************************************************************************
*/
void AudioPromptPlay(Task plugin, uint16 id, bool can_queue, bool override);
/****************************************************************************
*/
bool AudioPromptPlayEvent( sinkEvents_t event );
/****************************************************************************
NAME
AudioPromptPlayNumString
DESCRIPTION
Play a numeric string using the Audio Prompt plugin
RETURNS
*/
void AudioPromptPlayNumString(uint16 size_num_string, uint8* num_string);
/****************************************************************************
NAME
AudioPromptPlayNumber
DESCRIPTION
Play a uint32 using the audio prompt plugin
RETURNS
*/
void AudioPromptPlayNumber(uint32 number);
/* **************************************************************************
*/
bool AudioPromptPlayCallerNumber( const uint16 size_number, const uint8* number );
/****************************************************************************
NAME
AudioPromptPlayCallerName
DESCRIPTION
function to play caller name
RETURNS
*/
bool AudioPromptPlayCallerName( const uint16 size_name, const uint8* name );
/****************************************************************************
NAME
AudioPromptTerminate
DESCRIPTION
function to terminate an audio prompt prematurely.
RETURNS
*/
void AudioPromptTerminate( void );
/****************************************************************************
NAME
AudioPromptSelectLanguage
DESCRIPTION
Move to next language
RETURNS
*/
void AudioPromptSelectLanguage( void );
#endif