Phonon/Releases/Core/4.7.0: Difference between revisions

From KDE Community Wiki
< Phonon‎ | Releases‎ | Core
(Created page with "=== Features === * phonon4qt5 is a feature and API equivalent library built against Qt 5 rather than Qt 4. Phonon4Qt5 is built from the same source; requires the cmake option ...")
 
Line 16: Line 16:


=== Backend Exclusive API Additions ===
=== Backend Exclusive API Additions ===
* New ''AudioOutputInterface47'' allowing backends to get the Phonon Pulseaudio stream mapping ID which can be used together with PulseSupport::streamProperties to prevent [[https://bugs.kde.org/show_bug.cgi?id=321288 #321288]]. Requires ''PHONON_BACKEND_VERSION_4_7'' to be defined as with all new interface versions.
* New ''[http://people.ubuntu.com/~apachelogger/phonon/class_phonon_1_1_audio_output_interface47.html AudioOutputInterface47]'' allowing backends to get the Phonon Pulseaudio stream mapping ID which can be used together with ''[http://people.ubuntu.com/~apachelogger/phonon/class_phonon_1_1_pulse_support.html#a131756a03c3198721b27f98c239d1ebf  PulseSupport::streamProperties]'' to prevent [[https://bugs.kde.org/show_bug.cgi?id=321288 #321288]]. Requires ''PHONON_BACKEND_VERSION_4_7'' to be defined as with all new interface versions.


=== Bug Fixes ===
=== Bug Fixes ===
* ''AudioOutput::setVolume'' can now be called before entering ''Phonon::Playing'' state regardless of  whether PulseAudio is in use or not [[https://bugs.kde.org/show_bug.cgi?id=321172 #321172]].
* ''AudioOutput::setVolume'' can now be called before entering ''Phonon::Playing'' state regardless of  whether PulseAudio is in use or not [[https://bugs.kde.org/show_bug.cgi?id=321172 #321172]].
* Consecutive streams no longer override each other's PulseAudio stream mapping [[https://bugs.kde.org/show_bug.cgi?id=321288 #321288]].
* Consecutive streams no longer override each other's PulseAudio stream mapping [[https://bugs.kde.org/show_bug.cgi?id=321288 #321288]].

Revision as of 17:20, 4 November 2013

Features

  • phonon4qt5 is a feature and API equivalent library built against Qt 5 rather than Qt 4. Phonon4Qt5 is built from the same source; requires the cmake option PHONON_BUILD_PHONON4QT5 and a separate build directory from Qt 4.
    • phonon4qt5 supports a backend preference system independent of platform plugins and completely implemented using Qt technology.
    • phonon4qt5 integrates with Qt 5's QMake and can be used by setting QT += phonon4qt5 in your project file (please note that this may require building phonon4qt5 with -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON so that QMake finds the necessary files).
    • For further information please have a look at the Phonon4Qt5 documentation.
  • MediaSource(QString) is now deprecated, MediaSource(QUrl) should be used instead.
  • New build option PHONON_ASSERT_STATES to debug incoherent or incorrect state changes from the backend.
  • Documentation cleanup.
  • Normalized internal QObject connections.
  • Experimental support for building libphonon using QMake; limited control over feature set and installation path.
  • By default both official Phonon backends try to find a matching subtitle file for videos.

API Additions

  • Additional subtitle API (only partially backed by Phonon VLC - see FeatureMatrix) [#300967].
  • BluRay support in libphonon (only backed by Phonon VLC) [#279822].

Backend Exclusive API Additions

Bug Fixes

  • AudioOutput::setVolume can now be called before entering Phonon::Playing state regardless of whether PulseAudio is in use or not [#321172].
  • Consecutive streams no longer override each other's PulseAudio stream mapping [#321288].