cancel
Showing results for 
Search instead for 
Did you mean: 

problem using x-cube-opus project with opus profiling tool

NoraZhao
Associate

During audio codec processing, I encountered errors such as "UnboundLocalError: local variable 'res' referenced before assignment" and "struct.error: unpack requires a buffer of 13 bytes". These errors were reported by the Opus profiling tool, and the actual behavior is that the codec stops running shortly after starting.

Additionally, there's another issue where, when outputting the audio file, I can see the encoded/decoded data using CubeIDE for debugging, but the audio file outputted from the PC is an empty file.

I would greatly appreciate any solutions or replies to address these issues. Thank you.

0 REPLIES 0