提交 9eca39af 编写于 作者: W wangzx0705

fix the error code

Signed-off-by: Nwangzx0705 <wangzx0705@thundersoft.com>
上级 72afc496
......@@ -569,7 +569,7 @@ export default function audioRendererTest() {
it('SUB_MULTIMEDIA_AUDIO_RENDERER_SETRENDERERSAMPLINGRATE_CALLBACK_0200', 0, async function (done) {
let rate = 0;
audioRen.setRendererSamplingRate(rate, (err) => {
if (err.code == env.INVALID_INPUT_PARAMETER_6800104) {
if (err.code == env.UNSUPORTED_OPTION_6800104) {
console.info(`${TagFrmwkRender}: setRendererSamplingRate ERROR! code: ${err.code}, mesage: ${err.message} start getting samplingRate`);
audioRen.getRendererSamplingRate((err, data) => {
if (err) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册