Phonon (software)
Phonon is the multimedia API provided by KDE and is the standard abstraction for handling multimedia streams within KDE software and also used by several Qt applications.[src] Phonon was originally created to allow KDE and Qt software to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for a major version's lifetime.[src] It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and macOS, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.[src] For example, a file can be played in four lines of C++ code, compared to 30 lines in the old audio framework for KDE (aRts) Phonon::MediaObject* media = new Phonon::MediaObject(this); createPath(media, new Phonon::AudioOutput(Phonon::MusicCategory, this)); media->setCurrentSource(QUrl("/tmp/example.wav")); media->play(); Phonon is not designed to have every conceivable multimedia feature, but rather as a simple way to perform common functions of computer media players.[src] Developers that require more control over a given media backend than Phonon can provide are recommended to use the native media API or the GStreamer API on systems for which it is available.[src]
Phonon is the multimedia API provided by KDE and is the standard abstraction for handling multimedia streams within KDE software and also used by several Qt applications.[src] Phonon was originally created to allow KDE and Qt software to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for a major version's lifetime.[src] It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and macOS, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.[src] For example, a file can be played in four lines of C++ code, compared to 30 lines in the old audio framework for KDE (aRts) Phonon::MediaObject* media = new Phonon::MediaObject(this); createPath(media, new Phonon::AudioOutput(Phonon::MusicCategory, this)); media->setCurrentSource(QUrl("/tmp/example.wav")); media->play(); Phonon is not designed to have every conceivable multimedia feature, but rather as a simple way to perform common functions of computer media players.[src] Developers that require more control over a given media backend than Phonon can provide are recommended to use the native media API or the GStreamer API on systems for which it is available.[src] ==References== ==External links== Phonon home page Phonon code (hosted in invent.kde.org)[src]
11 sentences · 11 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Phonon (software)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/phonon-software. Accessed 28 November 2026.
Chicago
"Phonon (software)." encyclopegia.org. Accessed November 28, 2026. https://encyclopegia.org/wiki/phonon-software.
APA
encyclopegia.org. (2026). Phonon (software). Retrieved November 28, 2026, from https://encyclopegia.org/wiki/phonon-software
Accessed November 28, 2026 · CC BY-SA 4.0 · citation page · JSON