33 const QFileInfo fin(
m_file.fileName());
43 m_file.read((
char*)&dataSize, 4);
45 char *dataPrime =
new char[dataSize]{0};
47 m_file.read(dataPrime, dataSize);
51 m_file.read((
char*)&plSize, 4);
54 double duration = 0.0f;
57 for(
size_t i = 0; i < plSize && !
m_file.atEnd(); ++i)
68 m_file.read((
char*)&keyRunner,
sizeof(uint) * (chunkRunner.
keys_dex - 3));
71 QString path = dataPrime + chunkRunner.
file_ofz;
72 path.remove(
"file://");
80 if(!item.m_songs.isEmpty())
virtual bool readBuffer(MusicSongItemList &items) overridefinal
virtual bool writeBuffer(const MusicSongItemList &items) overridefinal
The class of the read write interface.
The class of the music song item.
The class of the music song info.
The class of the ttk file interface.
static qint64 formatDuration(const QString &time) noexcept