From 1363f808f98eccfe113624cfcf3291fd601fbac2 Mon Sep 17 00:00:00 2001 From: Kazumasa Mitsunari Date: Wed, 1 Nov 2017 14:20:44 +0900 Subject: Update document Update ApplicationGuide Change-Id: I8a9c675adeb8997debaa553f0e45f736a2719010 Signed-off-by: Kazumasa Mitsunari --- doc/api-ref/html/sm-error_8h_source.html | 100 +++++++++++++++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 doc/api-ref/html/sm-error_8h_source.html (limited to 'doc/api-ref/html/sm-error_8h_source.html') diff --git a/doc/api-ref/html/sm-error_8h_source.html b/doc/api-ref/html/sm-error_8h_source.html new file mode 100644 index 0000000..46a1fc1 --- /dev/null +++ b/doc/api-ref/html/sm-error_8h_source.html @@ -0,0 +1,100 @@ + + + + + + + +Sound Manager: R:/SoundManagerBinding/src/sm-error.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Sound Manager +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
sm-error.h
+
+
+Go to the documentation of this file.
1 #ifndef SM_ERROR_H
2 #define SM_ERROR_H
3 
5 {
6  switch (am_error_code){
7  case 0:
8  return "OK";
9  case 1:
10  return "unknown error";
11  case 2:
12  return "value out of range";
13  case 3:
14  return "not used";
15  case 4:
16  return "database error occured";
17  case 5:
18  return "the desired object already exists";
19  case 6:
20  return "there is no change";
21  case 7:
22  return "the desired action is not possible";
23  case 8:
24  return "the desired object is non existent";
25  case 9:
26  return "the asynchronous action was aborted";
27  case 10:
28  return "connectionFormat is not selected";
29  case 11:
30  return "communication error";
31  case 100:
32  return "desired event doesn't exist";
33  default:
34  return "Audio Manager responsed unknown error number";
35  }
36 }
37 
38 char* get_source_state_key(int am_source_state){
39  switch (am_source_state){
40  case 0:
41  return "unknown";
42  case 1:
43  return "on";
44  case 2:
45  return "off";
46  case 3:
47  return "paused";
48  default:
49  return "";
50  }
51 }
52 #endif
char * get_response_audiomanager_massage_error(int am_error_code)
Definition: sm-error.h:4
+
char * get_source_state_key(int am_source_state)
Definition: sm-error.h:38
+
+
+ + + + -- cgit 1.2.3-korg