“回声抑制”:primary_sub_port_in文件修改
authorluozheng <1732036298@qq.com>
Mon, 7 Jul 2025 09:58:42 +0000 (17:58 +0800)
committerluozheng <1732036298@qq.com>
Mon, 7 Jul 2025 09:58:42 +0000 (17:58 +0800)
code/sdk/middleware/services/media/hal/audio/plugins/brandy/primary/primary_sub_port_in.c

index 3692df0..9e10070 100755 (executable)
@@ -180,6 +180,7 @@ static int32_t AIDevOpen(td_handle *aiHandle, enum AudioCategory audioCategory)
 #endif
         } else {
             aiAttr.ref_attr.enable = TD_TRUE;
+            aiAttr.ref_attr.port = BUILTIN_SND_OUT_PORT;
         }
         MEDIA_HAL_DOFUNC_TIME(ret = uapi_ai_open(aiHandle, aiPort, &aiAttr));
         if (ret != MEDIA_HAL_OK) {