summaryrefslogtreecommitdiffstats
path: root/examples/multimedia/audiosource/doc/images
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2021-06-03 10:21:37 +0200
committerLars Knoll <lars.knoll@qt.io>2021-06-04 14:15:43 +0200
commitaa1f073a32147d147e4e9a0fee9dde8ccc30531e (patch)
tree0ac28cc3422f2258464f3043cf48443c60e13986 /examples/multimedia/audiosource/doc/images
parentdb4eb8383517bb94651b5b3e5768ae7eaaee7093 (diff)
Rename QAudioInput to QAudioSource
The renaming is a part of some changes coming from an API review that tries to solve the problem of not having API symmetry between QCameraInfo/QCamera and QAudioDeviceInfo where QAudioDevice is missing (so you can't select a nullptr as the input/output device to disable it). One issue is that QAudioInput/QAudioOutput are there for reading and writing low level PCM data from an audio device. They as such are not quite suitable as classes to use together with QMediaPlayer or QMediaCaptureSession, as they allow direct writing of data bypassing the player or capture pipeline. To solve this, we renamve those classes to QAudioSource/Sink (making it a bit more symmetric with QVideoSink). That opens up our API space for a QAudioDevice class avoiding names that feel like they are doing the same thing. The patch also renames things on the backend side to keep API and implementation consistent. Change-Id: I9f6b4892d3eee4e252cb3782e681b0c3824f27e2 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'examples/multimedia/audiosource/doc/images')
-rw-r--r--examples/multimedia/audiosource/doc/images/audiosource-example.pngbin0 -> 10383 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/examples/multimedia/audiosource/doc/images/audiosource-example.png b/examples/multimedia/audiosource/doc/images/audiosource-example.png
new file mode 100644
index 000000000..fb703e68c
--- /dev/null
+++ b/examples/multimedia/audiosource/doc/images/audiosource-example.png
Binary files differ