• 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 failure.
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
49Unsupported state.
50
51**Description**
52
53This operation is not allowed in the current state.
54
55**Possible Causes**
56
57The operation is not supported in the current state. For example, data is played before streams are started.
58
59**Solution**
60
611. Check whether this operation is supported in the current state.
622. Switch the instance to the correct state and perform the operation.
63
64## 6800104 Unsupported Parameter Value
65
66**Error Message**
67
68Unsupported parameter value.
69
70**Description**
71
72The parameter value is not supported.
73
74**Possible Causes**
75
76The value of the input parameter is not within the range supported.
77
78**Solution**
79
801. Check the enums or other input parameters supported by the API.
812. Use a supported value.
82
83## 6800105 Processing Timeout
84
85**Error Message**
86
87Processing timeout.
88
89**Description**
90
91Waiting for external processing times out.
92
93**Possible Causes**
94
95Waiting for external processing times out. For example, waiting for the application to fill in audio data times out.
96
97**Solution**
98
99Control the time of the write operation, for example, adding delayed processing.
100
101## 6800201 Too Many Audio Streams
102
103**Error Message**
104
105Too many audio streams.
106
107**Description**
108
109The number of audio streams reaches the upper limit.
110
111**Possible Causes**
112
113Invalid audio streams are not released in time.
114
115**Solution**
116
117Release audio streams that are no longer used.
118
119## 6800301 System Error
120
121**Error Message**
122
123System error.
124
125**Description**
126
127The system processing is abnormal.
128
129**Possible Causes**
130
131The system processing is abnormal, for example, system service restart or IPC exceptions.
132
133**Solution**
134
135Create the service again.
136