An audioplayer is done using phonon.We want to play more than 50 mp3 files. how can we store all these mp3 files in a buffer and how to read all files from the buffer (to avoid the delay while repeating the song ). Can you give us an ex: code?
An audioplayer is done using phonon.We want to play more than 50 mp3 files. how can we store all these mp3 files in a buffer and how to read all files from the buffer (to avoid the delay while repeating the song ). Can you give us an ex: code?
You should load all MP3s to QByteArrays...
Look MediaSource::MediaSource ( QIODevice * ioDevice ) at http://doc.qt.nokia.com/latest/phonon-mediasource.html . Then subclass a QIODevice or use QBuffer...
Hth.
Last edited by NullPointer; 2nd August 2011 at 07:01. Reason: correct MediaSource manual link
vinayaka (2nd August 2011)
Is there any ex:code?
Bookmarks