Play raw pcm from memory buffer in QMediaPlayer from Qt5
Published in 2018-02-13 11:30:22Z
How to play raw (headerless) pcm audio data from memory buffer in Qt5?
(16khz,16bits/sample, signed int, little-endian -- if it is matter).
My requirements are: to play the sound, detect and change current position.
I can do it with QMediaPlayer, but with "wav" buffers only. I can add standard wav header before data, but may be there is better solution?