Sur cette page

Qt Spatial Audio Module C++ Classes

Le Qt Spatial Audio module offre des fonctionnalités pour l'audio 3D. En savoir plus...

Classes

QAmbientSound

Un son stéréo superposé

QAudioEngine

Gère un champ sonore tridimensionnel

QAudioListener

Définit la position et l'orientation de la personne qui écoute un champ sonore défini par QAudioEngine

QAudioRoom

QSpatialSound

Un objet sonore dans l'espace 3D

Description détaillée

Utilisation du module

L'utilisation d'un module Qt nécessite une liaison avec la bibliothèque du module, soit directement, soit via d'autres dépendances. Plusieurs outils de compilation prennent cela en charge, notamment CMake et qmake.

Compilation avec CMake

Utilisez la commande ` find_package() ` pour localiser les composants du module nécessaires dans le paquet ` Qt6 ` :

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

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