• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Audio Error Codes
2
3> **NOTE**
4>
5> This topic describes only module-specific error codes. For details about universal error codes, see [Universal Error Codes](../errorcode-universal.md).
6
7## 6800101 Invalid Parameter
8
9**Error Message**
10
11Invalid parameter.
12
13**Description**
14
15A parameter passed in the API is invalid.
16
17**Possible Causes**
18
19The parameter is invalid. For example, the parameter value is not within the range supported.
20
21**Solution**
22
23Pass the correct parameters in the API.
24
25## 6800102 Memory Allocation Failure
26
27**Error Message**
28
29Memory allocation failed.
30
31**Description**
32
33When the API is called, the memory fails to be allocated or a null pointer occurs.
34
35**Possible Causes**
36
371. The system does not have sufficient memory for mapping.
382. Invalid instances are not destroyed in time to release the memory.
39
40**Solution**
41
421. Destroy the existing instances.
432. Create a new instance. If the creation fails, stop related operations.
44
45## 6800103 Unsupported State
46
47**Error Message**
48
49Operation not permitted at current state.
50
51**Description**
52
53The current state of the object does not support this operation.
54
55**Possible Causes**
56
57The operation is not supported in the current state of the object, for example, attempting to play data without starting the stream.
58
59**Solution**
60
611. Check whether this operation is supported in the current state.
622. Transition the object to the correct state before performing the operation.
63
64<!--Del-->
65## 6800104 Unsupported Parameter Value
66
67**Error Message**
68
69Unsupported option.
70
71**Description**
72
73The parameter value is not supported.
74
75**Possible Causes**
76
77The value of the input parameter is not within the range supported.
78
79**Solution**
80
811. Check the enums or other input parameters supported by the API.
822. Use a supported value.
83<!--DelEnd-->
84
85## 6800105 Processing Timeout
86
87**Error Message**
88
89Timeout.
90
91**Description**
92
93The processing times out.
94
95**Possible Causes**
96
971. An internal exception occurs in the system, triggering a timeout check of an internal interface.
982. The system relies on timely callback processing by the application. If the application fails to return promptly, the system reports a timeout.
99
100**Solution**
101
1021. For internal system timeouts, the application can only report the error.
1032. For interface implementations that depend on timely callback processing by the application, the application should check the callback execution and ensure prompt returns to avoid disrupting subsequent system processes.
104
105## 6800201 Too Many Audio Streams
106
107**Error Message**
108
109Too many audio streams.
110
111**Description**
112
113The number of audio streams reaches the upper limit.
114
115**Possible Causes**
116
117Excess audio streams are not released in a timely manner.
118
119**Solution**
120
1211. Release unused audio stream resources and retry.
1222. If the system limit is reached due to other applications, report an error message to the user, asking them to close other applications.
123
124## 6800301 System Error
125
126**Error Message**
127
128System error.
129
130**Description**
131
132The system processing is abnormal.
133
134**Possible Causes**
135
136The system processing is abnormal, for example, system service restart or IPC exceptions.
137
138**Solution**
139
140This is a general internal system error with unclear circumstances. You are advised to try re-creating the service process or directly report a system error.
141