Positional (3D) sound in Qt C++



  • I want to use 3D sound from my C++ code, so I was really glad when I first saw a reference to QtMultimedia module, that turns out to be capable of 3D sound. But suddenly I can only find that exactly 3D sound functionality to be exposed exclusively for QML. As I can see here "Qt 5.4 > Qt Multimedia > Multimedia":http://doc.qt.io/qt-5/multimediaoverview.html#multimedia-recipes, there are C++ classes called AudioEngine and Sound. However, any given docs only show these types in QML (for instance if you click the link "AudioEngine":http://doc.qt.io/qt-5/qml-qtaudioengine-audioengine.html in the bottom-right of the table).
    Am I missing something? I need a fast solution with 3D sound available to C++ code, like OpenAL, but if that is possible with Qt, that would be great.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.