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(); }