Phonon
videoplayer.cpp
qreal volume
This is the current loudness of the output (it is using Stevens' law to calculate the change in volta...
Definition audiooutput.h:67
void setCurrentSource(const MediaSource &source)
Set the media source the MediaObject should use.
Definition mediaobject.cpp:229
qint64 currentTime() const
Get the current time (in milliseconds) of the file currently being played.
qint64 totalTime() const
Get the total time (in milliseconds) of the file currently being played.
Definition mediaobject.cpp:201
Note that all constructors of this class are implicit, so that you can simply write.
Definition Phonon-Graph.cpp:17
float volume() const
This is the current volume of the output as voltage factor.
Definition videoplayer.cpp:175
qint64 totalTime() const
Get the total time (in milliseconds) of the file currently being played.
Definition videoplayer.cpp:157
VideoPlayer(Phonon::Category category, QWidget *parent=nullptr)
Constructs a new VideoPlayer instance.
Definition videoplayer.cpp:77
void load(const Phonon::MediaSource &source)
Starts preloading the media data and fill audiobuffers in the backend.
Definition videoplayer.cpp:116
qint64 currentTime() const
Get the current time (in milliseconds) of the file currently being played.
Definition videoplayer.cpp:163
void setVolume(float volume)
Sets the volume of the output as voltage factor.
Definition videoplayer.cpp:181
~VideoPlayer() override
On destruction the playback is stopped, also the audio output is removed so that the desktop mixer wi...
Definition videoplayer.cpp:93
void addWidget(QWidget *widget, int stretch, Qt::Alignment alignment)
Show
Type type() const const
void setContentsMargins(const QMargins &margins)
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
virtual bool event(QEvent *event) override
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:46:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:46:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.