Phonon
abstractmediastream.cpp
Base class for custom media data streams.
Definition abstractmediastream.h:102
void writeData(const QByteArray &data)
Sends the media data to the backend for decoding.
Definition abstractmediastream.cpp:89
bool streamSeekable() const
Returns whether your data stream is set as seekable.
Definition abstractmediastream.cpp:71
void endOfData()
Tells the backend that the media data stream is at its end.
Definition abstractmediastream.cpp:103
void setStreamSeekable(bool)
Sets whether your data stream is seekable.
Definition abstractmediastream.cpp:76
virtual Q_INVOKABLE void seekStream(qint64 offset)
Reimplement this function if your stream is seekable.
Definition abstractmediastream.cpp:130
virtual Q_INVOKABLE void enoughData()
Reimplement this function to be notified when the backend has enough data and your stream object may ...
Definition abstractmediastream.cpp:126
qint64 streamSize() const
Returns the stream size that was set with setStreamSize.
Definition abstractmediastream.cpp:53
AbstractMediaStream(QObject *parent=nullptr)
Constructs an AbstractMediaStream object with a parent.
Definition abstractmediastream.cpp:35
void setStreamSize(qint64)
Sets the size of the stream in number of bytes.
Definition abstractmediastream.cpp:58
void error(Phonon::ErrorType errorType, const QString &errorString)
If an I/O error occurs you should call this function to make MediaObject go into ErrorState.
Definition abstractmediastream.cpp:115
Q_D(Todo)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 11 2024 12:10:22 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 11 2024 12:10:22 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.