diff options
author | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-07-28 13:05:52 (GMT) |
---|---|---|
committer | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-08-02 09:15:02 (GMT) |
commit | fbe41c1e43d1f4fa6a8e0edda5688594801b8be3 (patch) | |
tree | 9978578d779d5381899bf80bf268d0e29ac907d0 /src/3rdparty/zlib_dependency.pri | |
parent | 02d3230a6b569e848bdae30ac2184613aade64ff (diff) | |
download | Qt-fbe41c1e43d1f4fa6a8e0edda5688594801b8be3.zip Qt-fbe41c1e43d1f4fa6a8e0edda5688594801b8be3.tar.gz Qt-fbe41c1e43d1f4fa6a8e0edda5688594801b8be3.tar.bz2 |
Added support to Phonon MMF backend for playback of Qt resource files
The backend accesses the resource file path via MediaSource::url().
A small patch to Phonon was required to enable this, because by
default, Phonon passes a QIODevice, rather than the resource file
path, to the backend.
The backend uses this path to create a QResource object, through which
the memory buffer into which the resource file has been read can be
accessed. This buffer is wrapped in a Symbian 8-bit descriptor and
passed to the OpenDesL() function of the appropriate MMF client
utility API.
Playback only works for certain file formats, as the Symbian MIME type
recognizer does not always work. For example, playback of an audio
WAV resource file works, while playback of an MP3 resource file does
not.
Task-number: QTBUG-6562
Reviewed-by: Justin McPherson
Diffstat (limited to 'src/3rdparty/zlib_dependency.pri')
0 files changed, 0 insertions, 0 deletions