Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

How to load sounds without route them directly to hardware?

$
0
0
Hi, I am searching for a way to load sound files (WAV, OGG/Vorbis, MP3…) for accessing their samples, without send them to the hardware for playing (like would do a QSound) and to access raw samples data. The QAudioDecoder seems to suit my needs, both for full or stream loading. However, when I include it to my source code the compiler says “QAudioDecoder: No such file or directory”. By the way, the documentation says that “This class is under development and is subject to change.”. It is finally useable or not? If not, what are the alternatives? I tried libsndfile but had some issues with it [qt-project.org] :(

Viewing all articles
Browse latest Browse all 18427

Trending Articles