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)