debug
This commit is contained in:
parent
9893ed5da2
commit
81a6bc7c6f
|
@ -103,9 +103,9 @@ void RTCContext::onAudioProcess(const char* roomId, const char* peerId,
|
||||||
//PyGILState_STATE gstate = PyGILState_Ensure();
|
//PyGILState_STATE gstate = PyGILState_Ensure();
|
||||||
std::cout << "data:" << audioFrame.data << std::endl;
|
std::cout << "data:" << audioFrame.data << std::endl;
|
||||||
std::cout << "当前线程是否持有 GIL: " << PyGILState_Check() << std::endl;
|
std::cout << "当前线程是否持有 GIL: " << PyGILState_Check() << std::endl;
|
||||||
|
np::dtype dtype = np::dtype::get_builtin<int16_t>();
|
||||||
|
std::cout << "init dtype" << std::endl;
|
||||||
try {
|
try {
|
||||||
np::dtype dtype = np::dtype::get_builtin<int16_t>();
|
|
||||||
std::cout << "init dtype" << std::endl;
|
|
||||||
py::object str_repr = py::str(dtype);
|
py::object str_repr = py::str(dtype);
|
||||||
std::cout << "str_repr" << std::endl;
|
std::cout << "str_repr" << std::endl;
|
||||||
if(str_repr.ptr() != Py_None) {
|
if(str_repr.ptr() != Py_None) {
|
||||||
|
|
Loading…
Reference in New Issue