My primary objective is to send a mp3 file over network using QDataStream
, QTcpServer
and QTcpSocket
. But I have broken this task to smaller pieces. At first I need to get the mp3 file to the correct format so that It can be "fed" to the data stream.
How am I supposed to accomplish this? I figured it would be the easiest to use Phonon? But the MediaObject
doesnt seem to be offering some sort of getData
method.
Any help on how am I supposed to do that would be much appreciated. If needed I can explain more about this.