class Path


Module phonon
Namespace Phonon
Class Path
Inherits
\class Path path.h Phonon/Path Connection object providing convenient effect insertion

MediaObject *media = new MediaObject;
AudioOutput *output = new AudioOutput(Phonon.MusicCategory);
Path path = Phonon.createPath(media, output);
Q_ASSERT(path.isValid()); // for this simple case the path should always be
//valid - there are unit tests to ensure it
// insert an effect
QList effectList = BackendCapabilities.availableAudioEffects();
if (!effectList.isEmpty()) {
Effect *effect = path.insertEffect(effectList.first());
}
Author Matthias Kretz Author Thierry Bastian


methods