AbstractAudioDataOutput Class Reference
from PyKDE4.phonon import *
Inherits: Phonon.MediaNode
Namespace: Phonon::Experimental
Detailed Description
- Abstract class:
- This class can be used as a base class for new classes, but can not be instantiated directly.
This class gives you the audio data.
This class implements a special AbstractAudioOutput that gives your
application the audio data. This class is usable for realtime performance.
- Author:
- Matthias Kretz <kretz@kde.org>
Method Documentation
Constructs an AbstractAudioDataOutput
__init__ |
( |
self, |
|
|
|
AbstractAudioDataOutputPrivate |
dd |
|
) |
|
|
|
QSet allowedFormats |
( |
|
self ) |
|
Lists the formats this output is allowed to pass via frameReady.
This function is called after the last packetReady of a media was
called.
- Abstract method:
- This method is abstract and can be overridden but not called directly.
This function is called whenever an audio packet is ready for
processing.
- Warning:
- packetReady can get called from any thread (other than the
main thread or the thread affinity of this QObject).
setAllowedFormats |
( |
self, |
|
|
|
QSet |
a0 |
|
) |
|
|
|
Defaults to AudioFormat().
I.e. 16 bit, stereo, 48000 kHz PCM data.
setRunning |
( |
self, |
|
|
|
bool |
running |
|
) |
|
|
|