From 81a6bc7c6f880a9c90bd002d50aa62533963e5cd Mon Sep 17 00:00:00 2001 From: wangjiyu Date: Tue, 15 Apr 2025 17:46:45 +0800 Subject: [PATCH] debug --- util/RTCContext.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/RTCContext.cpp b/util/RTCContext.cpp index 266c080..d063747 100644 --- a/util/RTCContext.cpp +++ b/util/RTCContext.cpp @@ -103,9 +103,9 @@ void RTCContext::onAudioProcess(const char* roomId, const char* peerId, //PyGILState_STATE gstate = PyGILState_Ensure(); std::cout << "data:" << audioFrame.data << std::endl; std::cout << "当前线程是否持有 GIL: " << PyGILState_Check() << std::endl; + np::dtype dtype = np::dtype::get_builtin(); + std::cout << "init dtype" << std::endl; try { - np::dtype dtype = np::dtype::get_builtin(); - std::cout << "init dtype" << std::endl; py::object str_repr = py::str(dtype); std::cout << "str_repr" << std::endl; if(str_repr.ptr() != Py_None) {