1# Media Subsystem Changelog
2
3## c1.multimedia.1 Error Code Implementation of the AudioRenderer and AudioCapturer Classes in ohos.multimedia.audio Is Corrected
4
5**Access Level**
6
7Public API
8
9**Reason for Change**
10
11The audio framework standardizes the following error codes:
126800101: The input parameter type does not match. 401: The number of input parameters does not match. 6800104: The enumerated value is not in the specified range.
13In the original implementation, error code 6800104 is returned when the input parameter type does not match, and error code 6800101 is returned when the number of input parameters does not match.
14
15**Change Impact**
16
17This change is a non-compatible change.
18
19If your application uses these error codes, make an adaptation accordingly.
20
21Before change:
22
23**audioRenderer.off**: If the number of input parameters does not match, error code 6800101 is returned. If the input parameter type does not match, error code 6800104 is returned.
24
25After change:
26
27**audioRenderer.off**: If the number of input parameters does not match, error code 401 is returned. If the input parameter type does not match, error code 6800101 is returned.
28
29Before change:
30
31**audioCapturer.off**: If the number of input parameters does not match, error code 6800101 is returned. If the input parameter type does not match, error code 6800104 is returned.
32
33After change:
34
35**audioCapturer.off**: If the number of input parameters does not match, error code 401 is returned. If the input parameter type does not match, error code 6800101 is returned.
36
37**Start API Level**
38
3912
40
41**Change Since**
42
43OpenHarmony SDK 5.0.0.24
44
45**Key API/Component Changes**
46
47AudioRenderer.off
48
49AudioCapturer.off
50
51**Adaptation Guide**
52
53Change the error code from 6800104 to 6800101 in the code for the scenario where the input parameter type does not match; change the error code from 6800101 to 401 in the code for the scenario where the number of input parameters does not match.
54