Qt Spatial Audio Module C++ Classes

Das Qt Spatial Audio Modul bietet Funktionalität für 3D-Audio. Mehr...

Klassen

QAmbientSound

Ein Stereo-Overlay-Sound

QAudioEngine

Verwaltet ein dreidimensionales Schallfeld

QAudioListener

Definiert die Position und Orientierung der Person, die ein von QAudioEngine definiertes Schallfeld hört

QAudioRoom

QSpatialSound

Ein Klangobjekt im 3D-Raum

Detaillierte Beschreibung

Verwendung des Moduls

Die Verwendung eines Qt-Moduls erfordert eine Verknüpfung mit der Modulbibliothek, entweder direkt oder über andere Abhängigkeiten. Mehrere Build-Tools bieten hierfür spezielle Unterstützung, darunter CMake und qmake.

Bauen mit CMake

Verwenden Sie den Befehl find_package(), um die benötigten Modulkomponenten im Paket Qt6 zu finden:

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

© 2025 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.