aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/doc/tutorials/qmlsqlintegration/chat.qml
diff options
context:
space:
mode:
authorShyamnath Premnadh <Shyamnath.Premnadh@qt.io>2021-12-06 14:00:27 +0100
committerShyamnath Premnadh <Shyamnath.Premnadh@qt.io>2021-12-28 10:07:31 +0100
commit0c62b3c2fc974d0c652d905a1268f3d0f74a330e (patch)
tree16569edfc094aecb05ad4fedb2ff694c14f728f1 /sources/pyside6/doc/tutorials/qmlsqlintegration/chat.qml
parentd727a69e2f58be167845b8179edf1735df6ccf1e (diff)
AudioSource Example + Binding for QAudioFormat.normalizedSampleValue(data: bytes)
In order to make the AudioSource example available in Python, the following functions were properly exposed to Python. - normalizedSampleSource(const void* data) const in QAudioFormat Previously, Shiboken took care of exposing these functions on its own. The fix here is to use PyBuffer as the counterpart for const char* in the Python side. The patch also consists of the working AudioSource example. Currently only the Push Mode works. Inorder to make the pull mode work, the function writeData(const char* data, qint64 len) should be properly exposed from C++ to Python through typestem, without code duplication. Task-number: PYSIDE-841 Task-number: PYSIDE-1743 Pick-to: 6.2 Change-Id: I1cd2c28136836c9bdf1021693f74e59eb98f390b Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside6/doc/tutorials/qmlsqlintegration/chat.qml')
0 files changed, 0 insertions, 0 deletions