summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon/mmf/dummyplayer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Added support to Phonon MMF backend for playback of Qt resource filesGareth Stockwell2010-08-021-1/+1
| | | | | | | | | | | | | | | | | | | | | 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
* Close media clip before creating new player objectGareth Stockwell2010-07-071-0/+4
| | | | | | | | | | Failure to Close() an existing MMF player utility object before creating a new one - which happens in the MMF backend's implementation of Phonon::MediaObject::setCurrentSource() - causes intialization of the newly-created utility to fail later on. Task-number: QTBUG-11377 Reviewed-by: Thierry Bastian
* Implemented support for playlist handling in Phonon MMF backendGareth Stockwell2009-12-081-17/+2
| | | | | | | | | | The main changes are: 1. MediaObject emits prefinishMark at the appropriate instant 2. MediaObject emits aboutToFinish at the appropriate instant 3. MediaObject switches to next source when playback completes Task-number: QTBUG-6214 Reviewed-by: Frans Englich
* Improve error handling.Frans Englich2009-10-231-9/+0
| | | | | | | | | | | | | Errors reported via: * the DummyPlayer didn't work due to it not doing the usual state transitions/emission * MediaObject::setSource() due to errors being emitted before connections being set up. * A general state bug. Task-number: QTBUG-4752 Reviewed-by: Gareth Stockwell
* qdoc: Marked some undocumented Phonon classes internalMartin Smith2009-10-011-0/+4
|
* Merge branch 'mmfphonon' of scm.dev.nokia.troll.no:qt/qt-s60-public into ↵Frans Englich2009-09-291-10/+0
|\ | | | | | | | | | | | | mmfphonon Conflicts: src/3rdparty/phonon/mmf/abstractplayer.cpp
| * Fixed problem which caused playback to always start at default volume.Gareth Stockwell2009-09-291-10/+0
| | | | | | | | Volume changes made before playback starts are now correctly propagated.
* | Changes for fixing media object.Frans Englich2009-09-291-0/+3
|/ | | | | | | | | | | This brings tst_MediaObject to 15/7, from previously not running. Changes involves: * Skipping .qrc related tests * Loading/mimetype detction from file:/ URIs * State fixes * As part of previous point, move state and error handling down in AbstractPlayer.
* Reformatted code to comply with Qt styleGareth Stockwell2009-08-281-3/+3
|
* Wrapped code using QT_BEGIN/END_NAMESPACE macrosGareth Stockwell2009-08-281-2/+3
|
* Fixed problem which caused duplicate entries to appear in media player file ↵Gareth Stockwell2009-08-241-1/+1
| | | | | | list. This was due to the backend returning an incorrect initial state value. Phonon::MMF::AbstractMediaPlayer::GroundState is now correctly mapped to Phonon::LoadingState. (Previously it mapped to Phonon::StoppedState).
* Further tidied up volume handlingGareth Stockwell2009-08-211-4/+10
|
* Implemented parameter copying between AbstractPlayer instancesGareth Stockwell2009-08-201-33/+27
|
* Added VolumeControlInterface to abstract details of path between MediaObject ↵Gareth Stockwell2009-08-201-7/+7
| | | | and AudioOutput
* Add the DummyPlayer, as discussed with Gareth.Frans Englich2009-08-181-0/+137