Phonon Namespace Reference
from PyKDE4.phonon.Phonon import *
Detailed Description
Class Index
Enumerations | |
ObjectDescriptionType | { AudioOutputDeviceType, EffectType, AudioChannelType, SubtitleType, AudioCaptureDeviceType } |
Functions | |
Phonon.Path | createPath (Phonon.MediaNode source, Phonon.MediaNode sink) |
Phonon.MediaObject | createPlayer (Phonon::Category category, Phonon.MediaSource source=Phonon.MediaSource()) |
long | qHash (Phonon.EffectParameter param) |
Enumeration Documentation
ObjectDescriptionType |
Defines the type of information that is contained in a ObjectDescription object.
- Enumerator:
-
AudioOutputDeviceType EffectType AudioChannelType SubtitleType AudioCaptureDeviceType
Function Documentation
Phonon.Path createPath | ( | Phonon.MediaNode | source, | |
Phonon.MediaNode | sink | |||
) |
Creates a new Path connecting two MediaNodes.
The implementation will automatically select the right format and media type. E.g. connecting a MediaObject and AudioOutput will create a Path object connecting the audio. This might be represented as PCM or perhaps even AC3 depending on the AudioOutput object.
- Parameters:
-
source The MediaNode to connect an output from
- Parameters:
-
sink The MediaNode to connect to.
Phonon.MediaObject createPlayer | ( | Phonon::Category | category, | |
Phonon.MediaSource | source=Phonon.MediaSource() | |||
) |
Convenience function to create a MediaObject and AudioOutput connected by a path.
long qHash | ( | Phonon.EffectParameter | param | |
) |
\class EffectParameter effectparameter.h Phonon/EffectParameter This class describes one parameter of an effect.
- See also:
- Effect