This commit is contained in:
wangjiyu 2025-05-04 11:18:59 +08:00
parent a9d531c6fc
commit 392ec2416b
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ py::array_t<int16_t> getNumpyData() {
int sendCustomAudioData(int16_t destChannelIndex, py::array_t<int16_t> inputArray,
int32_t sampleRate, uint64_t channelNum, uint64_t dataLen) {
py::gil_scoped_release release;
//py::gil_scoped_release release;
py::array_t<int16_t> contiguous = py::array::ensure(inputArray);
if (!contiguous) throw py::value_error("Array conversion failed");