debug
This commit is contained in:
parent
0bfb8fe405
commit
287bd759a1
|
@ -105,7 +105,7 @@ 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;
|
||||
std::cout << "数据类型: " << dtype << std::endl;
|
||||
std::cout << "数据类型: " << py::extract<std::string>(py::str(dtype))() << std::endl;
|
||||
std::cout << "数据形状: " << shape[0] << std::endl;
|
||||
np::ndarray audioArray = np::from_data(
|
||||
audioFrame.data, // 数据指针
|
||||
|
|
Loading…
Reference in New Issue