harmony 鸿蒙Audio Error Codes
Audio Error Codes
NOTE
This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
6800101 Invalid Parameter
Error Message
Invalid parameter.
Description
A parameter passed in the API is invalid.
Possible Causes
The parameter is invalid. For example, the parameter value is not within the range supported.
Solution
Pass the correct parameters in the API.
6800102 Memory Allocation Failure
Error Message
Memory allocation failure.
Description
When the API is called, the memory fails to be allocated or a null pointer occurs.
Possible Causes
- The system does not have sufficient memory for mapping.
- Invalid instances are not destroyed in time to release the memory.
Solution
- Destroy the existing instances.
- Create a new instance. If the creation fails, stop related operations.
6800103 Unsupported State
Error Message
Unsupported state.
Description
This operation is not allowed in the current state.
Possible Causes
The operation is not supported in the current state. For example, data is played before streams are started.
Solution
- Check whether this operation is supported in the current state.
- Switch the instance to the correct state and perform the operation.
6800104 Unsupported Parameter Value
Error Message
Unsupported parameter value.
Description
The parameter value is not supported.
Possible Causes
The value of the input parameter is not within the range supported.
Solution
- Check the enums or other input parameters supported by the API.
- Use a supported value.
6800105 Processing Timeout
Error Message
Processing timeout.
Description
Waiting for external processing times out.
Possible Causes
Waiting for external processing times out. For example, waiting for the application to fill in audio data times out.
Solution
Control the time of the write operation, for example, adding delayed processing.
6800201 Too Many Audio Streams
Error Message
Too many audio streams.
Description
The number of audio streams reaches the upper limit.
Possible Causes
Invalid audio streams are not released in time.
Solution
Release audio streams that are no longer used.
6800301 System Error
Error Message
System error.
Description
The system processing is abnormal.
Possible Causes
The system processing is abnormal, for example, system service restart or IPC exceptions.
Solution
Create the service again.
你可能感兴趣的鸿蒙文章
harmony 鸿蒙DeviceUsageStatistics Error Codes
harmony 鸿蒙DistributedNotificationService Error Codes
harmony 鸿蒙Distributed Scheduler Error Codes
harmony 鸿蒙Access Control Error Codes
harmony 鸿蒙Accessibility Error Codes
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦