play opus with opus_decode + QAudioOutput
I search player any type of opus file via opus_decode ++ QAudioOutput, my code:
I wish only a simple play.
Some body can fix my example?
You should explain what your application does.currently rather that just leaving the code there for someone to parse, analyse and make it run.
Actually nothing. I just try play opus file, decoding via libopus, play via Qt.
Did you saw that you didn't open your QBuffer object ?
QBuffer it's just here to try QSound. The probleme seam be out of here.
Well... You are technically writing to a closed
QIODevice. So how can you expect to get something out of that buffer ?