From 088f37377010a8a532e9510890f479707c15a83d Mon Sep 17 00:00:00 2001 From: wangjiyu Date: Wed, 16 Apr 2025 11:34:51 +0800 Subject: [PATCH] debug --- util/RTCContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/RTCContext.cpp b/util/RTCContext.cpp index 1381a4a..4560834 100644 --- a/util/RTCContext.cpp +++ b/util/RTCContext.cpp @@ -354,7 +354,7 @@ void RTCContext::onAudioProcess(const char* roomId, const char* peerId, namespace np = boost::python::numpy; // 6. 拷贝数据到共享内存 std::cout << "[6] 拷贝音频数据到共享内存..." << std::endl; - //memcpy(ptr, audioFrame.data, data_size); + memcpy(ptr, audioFrame.data, data_size); std::cout << "step1" << std::endl; /* npy_intp shape[1] = { static_cast(audioFrame.dataCount) };