From d7b0bc221c29bed420121928a0dab51d4e68ba9d Mon Sep 17 00:00:00 2001 From: wangjiyu Date: Thu, 10 Apr 2025 09:13:12 +0800 Subject: [PATCH] debug --- rtc_plugins.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/rtc_plugins.cpp b/rtc_plugins.cpp index b970700..c850c34 100644 --- a/rtc_plugins.cpp +++ b/rtc_plugins.cpp @@ -36,6 +36,7 @@ int sendCustomAudioData(const int16_t destChannelIndex, py::object pyData, int32 std::cout << "step1" << std::endl; // 检查是否为 numpy 数组 if (!PyArray_Check(pyData.ptr())) { + std::cout << "check fail, ptr:" << pyData.ptr() << std::endl; PyErr_SetString(PyExc_TypeError, "Expected a numpy array"); throw py::error_already_set(); }