Issue with QAudioDecoder
I am looking at the example given to decode some audio data :
QAudioDecoder *decoder = new QAudioDecoder(this);
connect(decoder, SIGNAL(bufferReady()), this, SLOT(readBuffer()));
The issue I have here is to be obliged to create a QAudioFormat before decoding the audio file. Indeed, it means that you already know some information (sample rate, etc ...) about the audio file you are about to decode which is rarely the case.
Is there for example a way to decode (extract the data) of a wav file without knowing these informations such as sample rate ...,?
Thanks for your help.
Does someone have any idea please? :)
Thank you very much
Still not? :)
You should add which OS/Qt version you are using
Qt 5.1 on windows.
Did you check the "bug report system":https://bugreports.qt-project.org/ to see if this is something known ? You might consider creating a bug report (put as much details as you can and a minimal compilable example so it can be reproduced)
You can also start by asking on the interest mailing list, You'll find Qt's developers/maintainers there (this forum is more user oriented)