summaryrefslogtreecommitdiffstats
path: root/src/multimedia/platform/gstreamer/common/qgstreamermediaplayer.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2021-06-04 15:58:15 +0200
committerLars Knoll <lars.knoll@qt.io>2021-06-11 15:12:28 +0200
commitd5b87ad6554a674aa38a3d301918a49f5baf57a7 (patch)
treea2d28e0f72142a13ca602c1ef927f3a81a15eee7 /src/multimedia/platform/gstreamer/common/qgstreamermediaplayer.cpp
parent9fd208f11a218d8a8b07fc525258eea3b3596d62 (diff)
Use QAudioInput in QMediaCaptureSession
Convert the audioInput property to use a pointer to a QAudioInput in line with the API changes planned. Not setting up a QAudioInput implies that you do not get any audio. Move the volume and muted properties over to QAudioInput, they should really not be part of the QMediaCaptureSession. Adjust the platform API accordingly and adjust implementations. The Android adaptation is incomplete, but that was the case before as well. This needs some refactoring to properly support setting devices and adjusting volume/muted. Dynamically adjusting to changes of the audio input device is not yet implemented on Windows. Change-Id: I2fb63b9e57908d6dc02130b8d534ef7ac1a1ac85 Reviewed-by: André de la Rocha <andre.rocha@qt.io> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/multimedia/platform/gstreamer/common/qgstreamermediaplayer.cpp')
0 files changed, 0 insertions, 0 deletions