Description
It was noticed that the https://doc.qt.io/qt-6/qiodevice.html#writeData and https://doc.qt.io/qt-6/qaudioformat.html#normalizedSampleValue were not exposed to Python because they both take const char* for the first parameter. Shiboken was let to generate bindings on its own for these two functions and hence they were not working properly.
Fix:
Instead of const char* use PyBuffer in the binding wrapper code.
Attachments
Issue Links
- relates to
-
PYSIDE-1983 Crash to desktop when using Custom QIODevice with QAudioSource
-
- Closed
-