debug
This commit is contained in:
parent
6f24ab5105
commit
088f373770
|
@ -354,7 +354,7 @@ void RTCContext::onAudioProcess(const char* roomId, const char* peerId,
|
|||
namespace np = boost::python::numpy;
|
||||
// 6. 拷贝数据到共享内存
|
||||
std::cout << "[6] 拷贝音频数据到共享内存..." << std::endl;
|
||||
//memcpy(ptr, audioFrame.data, data_size);
|
||||
memcpy(ptr, audioFrame.data, data_size);
|
||||
std::cout << "step1" << std::endl;
|
||||
/*
|
||||
npy_intp shape[1] = { static_cast<npy_intp>(audioFrame.dataCount) };
|
||||
|
|
Loading…
Reference in New Issue