summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon/mmf/audioplayer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Implemented node disconnection in Phonon MMF backendGareth Stockwell2009-12-081-8/+7
| | | | | Task-number: QTBUG-4663 Reviewed-by: Frans Englich
* Implemented support for playlist handling in Phonon MMF backendGareth Stockwell2009-12-081-32/+9
| | | | | | | | | | 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
* Implemented buffer status notifications in Phonon MMF backendGareth Stockwell2009-12-081-2/+23
| | | | | | | | | | | | When clips are buffering (either at the start of playback, or during playback, when buffer levels drop due to e.g. CPU, file system or network load), the backend receives notification from the MMF. While buffering is ongoing, the backend periodically queries the filling status and emits a signal. Task-number: QTBUG-4660 Reviewed-by: Frans Englich
* Added support for streaming playback to Phonon MMF backendGareth Stockwell2009-12-081-0/+11
| | | | | | | | | | | | | | | | Because the MIME type of the stream cannot always be deduced from the URL, we assume that it is a video stream. This is based on the assumption that the video controllers will be capable of parsing the container formats for audio-only, as well as video clips. Note that this assumption may not hold on all devices. Note that most implementations of the MMF client APIs do not support HTTP streaming (a.k.a. progressive download). The backend has therefore only been tested with RTSP streams - see the JIRA entry for further details. Task-number: QTBUG-4660 Reviewed-by: Frans Englich
* Phonon MMF: leaves during object construction throw exceptionsGareth Stockwell2009-12-081-3/+3
| | | | Reviewed-by: Frans Englich
* Added error strings to Phonon MMF backendGareth Stockwell2009-12-021-8/+5
| | | | | | | | | | Note that changing Utils from a namespace into a class, and then using Q_DECLARE_TR_FUNCTIONS in the class declaration, was necessary in order to be able to call tr(...) from the implementation of Utils::symbianErrorToString. Task-number: QTBUG-4994 Reviewed-by: Oswald Buddenhagen
* Implemented metadata handling in Phonon MMF backendGareth Stockwell2009-11-041-1/+20
| | | | | Task-number: QTBUG-4662 Reviewed-by: Frans Englich
* sed -i -e 's/if(/if (/g' `find -name "*.cpp" -or -name "*.h" -or -nameFrans Englich2009-10-151-2/+2
| | | | "*.pro"`
* Use QScopedPointer for AudioPlayer's CPlayerType.Frans Englich2009-10-071-6/+3
| | | | Reviewed-by: Gareth Stockwell
* Merge commit 'qt/4.6' into mmfphononFrans Englich2009-10-021-0/+4
|\ | | | | | | | | Conflicts: src/gui/kernel/qwidget_s60.cpp
| * qdoc: Marked some undocumented Phonon classes internalMartin Smith2009-10-011-0/+4
| |
* | Removed dummy VideoOutput instance.Gareth Stockwell2009-09-301-1/+1
|/ | | | This is part of an attempt to get the draggablevideo test app working on Symbian. Use of the dummy video output object causes a top-level window to be created, which was suspected of being the reason why video is not visible. This is not the case - for some reason, when the VideoOutput window is activated, it is still marked as 'hidden' by the window server (CWsClientWindow::ResetHiddenFlag, triggered from CCoeControl::ActivateL).
* Remove TODO comment.Frans Englich2009-09-241-2/+0
| | | | Addresses review comment.
* Do runtime check for SetVolume.Frans Englich2009-09-241-5/+12
| | | | | This was previously in, but apparently disappeared as part of git work. Addresses review comment.
* Essentially do 's/NULL/0/g', to adhere to Qt coding style.Frans Englich2009-09-241-2/+2
| | | | Addresses review comment.
* Build fix for SDK 3.1.Frans Englich2009-09-231-0/+6
|
* Work on extending the framework for accomodating effects.Frans Englich2009-09-091-0/+6
| | | | | | | | | This extends the framework for being able to handle audio effects, largely affecting how the audio chain is set up, connected and disconnected, and therefore the Backend has been refactored slightly, and the class MediaNode introduced, see its documentation. In addition two effects has been written: BassBoost and AudioEqualizer.
* Reformatted code to comply with Qt styleGareth Stockwell2009-08-281-69/+58
|
* Wrapped code using QT_BEGIN/END_NAMESPACE macrosGareth Stockwell2009-08-281-13/+3
|
* Added some missing signals in MediaObject; fixed seek slider in musicplayer.exeGareth Stockwell2009-08-251-11/+6
|
* Implemented connection between MediaOutput and VideoWidgetGareth Stockwell2009-08-211-1/+2
| | | | | Video is still not visible; need to debug the initialization of the VideoOutput object to determine whether DSA is being aborted.
* Further tidied up volume handlingGareth Stockwell2009-08-211-2/+2
|
* Tidied up trace statementsGareth Stockwell2009-08-211-8/+10
|
* Started fleshing out the VideoPlayer implementationGareth Stockwell2009-08-201-5/+4
| | | | | | Now loads, prepares and plays a clip, but the video is not visible because it's not yet wired up to a VideoWidget. Video 'playback' can be tested using the demos/mediaplayer application, but the menus are not displayed properly, so a video clip filename must be hardcoded in main.cpp and passed to the MediaPlayer constructor.
* Implemented parameter copying between AbstractPlayer instancesGareth Stockwell2009-08-201-26/+26
|
* Added VolumeControlInterface to abstract details of path between MediaObject ↵Gareth Stockwell2009-08-201-1/+8
| | | | and AudioOutput
* Started work on VideoPlayer implementationGareth Stockwell2009-08-181-16/+16
|
* Refactored AudioPlayer and VideoPlayer to separate out common code into ↵Gareth Stockwell2009-08-181-417/+35
| | | | AbstractMediaPlayer
* Merged recognizer changes with abstraction for audio / video playback.Gareth Stockwell2009-08-181-2/+7
| | | | | | | | | | | | | | Audio playback now working to the same extent as prior to the abstraction, with one regression: the initial volume level in the UI is set to zero, although playback is audible. Some cleanup is required: - Functionality common to AudioPlayer and VideoPlayer (e.g. tick timer, changeState function) should be moved into AbstractPlayer. - Files may be opened by multiple instances of MediaObject at at time. For example, the musicplayer example app uses one instance to read file metadata, and one for the actual playback. In order to avoid KErrInUse errors from the file server, files must be opened with an EShare* flag and passed around by handle. At present this is done in a slightly hacky way (i.e. AbstractPlayer::setSource is renamed to setFileSource). - The pointer held by MediaObject::m_player must be checked for nullness in many of the public API calls. This could be made cleaner by implementing a stub derivation of AbstractPlayer, which returns sensible default values. Note that, if functionality such as tick timer handling is going to be pushed upwards from AudioPlayer / VideoPlayer, we should add an intermediate class to the hierarchy so that the overhead of constructing DummyPlayer objects is minimised. At present, media type (audio / video) is only recognised from file streams - this needs to be extended to include HTTP streaming aswell.
* More delegation, basic plumbing.Frans Englich2009-08-171-8/+8
|
* Refactor the media object such that we can do both video and sound.Frans Englich2009-08-171-0/+631
As per discussions with Gareth.