debug
This commit is contained in:
parent
fe7f636055
commit
546bd7de4a
|
@ -54,7 +54,7 @@ py::object create_numpy_array() {
|
||||||
int sendCustomAudioData(const int16_t destChannelIndex, py::object pD, int32_t sampleRate, uint64_t channelNum,
|
int sendCustomAudioData(const int16_t destChannelIndex, py::object pD, int32_t sampleRate, uint64_t channelNum,
|
||||||
uint64_t dataLen) {
|
uint64_t dataLen) {
|
||||||
try {
|
try {
|
||||||
pyData = create_numpy_array();
|
py::object pyData = create_numpy_array();
|
||||||
std::cout << "step 1" << std::endl;
|
std::cout << "step 1" << std::endl;
|
||||||
// 1. 检查输入有效性
|
// 1. 检查输入有效性
|
||||||
if (pyData.ptr() == nullptr) {
|
if (pyData.ptr() == nullptr) {
|
||||||
|
|
Loading…
Reference in New Issue