This commit is contained in:
wangjiyu 2025-04-15 12:53:36 +08:00
parent 9303afba7e
commit 7fdfce8519
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ srcChannelIndex = 46
destChannelIndex = 47
def my_callback(shmName, dataSize, dataCount, sampleRate, numChannels, channelIndex):
print(f"dataSize:{dataSize}, dataCount:{dataCount}, sampleRate:{sampleRate}, numChannels:{numChannels}, channelIndex:{channelIndex}")
print(f"data:{}shmName)
print(f"data:{shmName}")
#fd = os.open(shmName, os.O_RDONLY)
#if fd == -1:
# raise RuntimeError(f"无法打开共享内存 {shmName}")