From 546bd7de4ab6b50856435e27166711a52eda6b06 Mon Sep 17 00:00:00 2001 From: wangjiyu Date: Thu, 10 Apr 2025 10:01:53 +0800 Subject: [PATCH] debug --- rtc_plugins.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtc_plugins.cpp b/rtc_plugins.cpp index e08b4e3..a91b8e0 100644 --- a/rtc_plugins.cpp +++ b/rtc_plugins.cpp @@ -54,7 +54,7 @@ py::object create_numpy_array() { int sendCustomAudioData(const int16_t destChannelIndex, py::object pD, int32_t sampleRate, uint64_t channelNum, uint64_t dataLen) { try { - pyData = create_numpy_array(); + py::object pyData = create_numpy_array(); std::cout << "step 1" << std::endl; // 1. 检查输入有效性 if (pyData.ptr() == nullptr) {