The Qt Spatial Audio module provides functionality for 3D audio. 更多...
| 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 |
使用 Qt 模块要求直接或透过其它依赖链接到模块库。一些构建工具为此有贡献支持,包括 CMake and qmake .
使用
find_package()
命令定位所需模块组件在
Qt6
包:
find_package(Qt6 REQUIRED COMPONENTS SpatialAudio)
target_link_libraries(my_project PRIVATE Qt6::SpatialAudio)