monkazer
16th September 2012, 09:45
Hello
I have a little problem with my Qt program.
There is a function which downloads a mp3 file (using QFile) and is called each time new datas are available to be written.
Once these datas have been written, I 'd like to construct a TagLib::FileRef variable, to read the bitrate of the file.
The problem is this variable is always null (maybe because the file is already opened).
How can I fix that, without having to close and re-open the file each time ?
Thanks
I have a little problem with my Qt program.
There is a function which downloads a mp3 file (using QFile) and is called each time new datas are available to be written.
Once these datas have been written, I 'd like to construct a TagLib::FileRef variable, to read the bitrate of the file.
The problem is this variable is always null (maybe because the file is already opened).
How can I fix that, without having to close and re-open the file each time ?
Thanks