summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2022-05-04 14:36:20 +0200
committerLars Knoll <lars.knoll@qt.io>2022-05-11 08:24:19 +0200
commitad99bd3998face1590944e5a82af5ffc90482eb4 (patch)
treeac0c39a0a925bfc95c4cdaaed93628f298b2ceda /examples
parent6b4126e3d142ce1c056bc07a394eecbc1d4a2746 (diff)
Add overview and example docs for spatial audio
Add a short description of the spatialaudio example and some overview docs for that part of the API. Change-Id: I7ee7b61c00f82f3bd4ca438e96b01a7c5e9889ff Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/multimedia/spatialaudio/doc/images/spatialaudio-example.pngbin0 -> 171760 bytes
-rw-r--r--examples/multimedia/spatialaudio/doc/src/spatialaudio.qdoc51
2 files changed, 51 insertions, 0 deletions
diff --git a/examples/multimedia/spatialaudio/doc/images/spatialaudio-example.png b/examples/multimedia/spatialaudio/doc/images/spatialaudio-example.png
new file mode 100644
index 000000000..45c53975d
--- /dev/null
+++ b/examples/multimedia/spatialaudio/doc/images/spatialaudio-example.png
Binary files differ
diff --git a/examples/multimedia/spatialaudio/doc/src/spatialaudio.qdoc b/examples/multimedia/spatialaudio/doc/src/spatialaudio.qdoc
new file mode 100644
index 000000000..c6452a071
--- /dev/null
+++ b/examples/multimedia/spatialaudio/doc/src/spatialaudio.qdoc
@@ -0,0 +1,51 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: http://www.qt.io/licensing/
+**
+** This file is part of the documentation of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:FDL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU Free Documentation License Usage
+** Alternatively, this file may be used under the terms of the GNU Free
+** Documentation License version 1.3 as published by the Free Software
+** Foundation and appearing in the file included in the packaging of
+** this file. Please review the following information to ensure
+** the GNU Free Documentation License version 1.3 requirements
+** will be met: https://www.gnu.org/licenses/fdl-1.3.html.
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+/*!
+
+\example multimedia/spatialaudio
+\title Spatial Audio Example
+\ingroup multimedia_examples
+\ingroup spatialaudio_examples
+\meta {tag} {widgets}
+\brief Shows some of the capabilities of the spatial audio engine in Qt.
+
+The Spatial Audio Example demonstrates how you can use \l{Qt Multimedia} to
+place sound sources in 3D space and how positioning of the sound source and
+room properties affect the listening experience.
+
+The example lets you specify a sound file to be played back at a certain
+position in 3D space relative to the listener. Using sliders you can change
+the distance and the azimuth and elevation angles to the source. You can also
+change dimensions of a virtual room, the intensity of the room reflections
+and reverb.
+
+Various other properties can also be modified such as the dimensions of a virtual
+room and the intensity of the room reflections and reverb.
+
+\image spatialaudio-example.png
+
+*/