Qt Spatial Audio Module C++ Classes | Qt Spatial Audio 6.5.1
Description: The <a href=

Qt Spatial Audio module provides functionality for 3D audio.">

- Qt 6.5
- Qt Spatial Audio
- Qt Spatial Audio Module C++ Classes
- Technology Preview

# 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)