Qt Spatial Audio Module C++ Classes

The Qt Spatial Audio module provides functionality for 3D audio. More...

Classes

QAmbientSound

A stereo overlay sound

QAudioEngine

Manages a three dimensional sound field

QAudioListener

Defines the position and orientation of the person listening to a sound field defined by QAudioEngine

QAudioRoom

QSpatialSound

A sound object in 3D space

Detailed Description

Using the Module

Using a Qt module requires linking against the module library, either directly or through other dependencies. Several build tools have dedicated support for this, including CMake and qmake.

Building with CMake

Use the find_package() command to locate the needed module components in the Qt6 package:

find_package(Qt6 REQUIRED COMPONENTS SpatialAudio)
target_link_libraries(my_project PRIVATE Qt6::SpatialAudio)

© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.