Qt Spatial Audio Module C++ Classes
The Qt Spatial Audio module provides functionality for 3D audio. More...
Classes
A stereo overlay sound | |
Manages a three dimensional sound field | |
Defines the position and orientation of the person listening to a sound field defined by QAudioEngine | |
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)