Phonon
Phonon-Graph.cpp
126Path createPath(MediaNode *source, const Port &srcport, MediaNode *sink, const Port &sinkport = Port(AllMedia))
142 //ports must always be valid... but they might be 'unconnectable' (depnding on the current source)
149 media.selectSubStream(src.subStream(Phonon::Audio).first(), audio_port); <- selects the auid stream for the specified audio_port
150 media.selectSubStream(src.subStream(Phonon::Audio).first()); <-- does it for every audio port (of course only applies to 'src')
165 //do we want to have so many formats or are the formats basically raw or decoded (with a specific format)?
168 Path p = Phonon::createPath(media, audio_port2, writer); // <-- the format of audioport2 is selected to coded?
212Path *audioPath3 = new Path(amix, audioOut); // this unplugs audioPath from audioOut, otherwise this Path would not be possible
QWidget * decoderParameterWidget(const Port &port)
Returns 0 if there are no parameters for the given port/decoder.
Note that all constructors of this class are implicit, so that you can simply write.
Definition Phonon-Graph.cpp:17
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:29:17 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:29:17 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.