Hello I am looking to try and use QAudioOuput within my QT program. I am reading some data from a file which I can convert either to a vector of dou
-
Hello
I am looking to try and use QAudioOuput within my QT program.
I am reading some data from a file which I can convert either to a vector of doubles or floats and would like to output this to an audio device. I read in a seconds worth of data every second and would like to get an audio device to play this as it iterates through the data.
I have seen that this may be achievable through QIODevice and Qbuffer to buffer the data into a QByteArray. Although I am not sure what this would entail or if indeed I am overcomplicating the issue.
If anyone could help or if they have a small example it would be greatly appreciated!
-
Hi,
Please don't post the same question multiple times
"Duplicate":http://qt-project.org/forums/viewthread/37546/