Package flumotion :: Package component :: Package effects :: Package audiorate :: Module audiorate :: Class Audiorate
[hide private]

Class Audiorate

source code

extern.log.log.Loggable --+        
                          |        
       feedcomponent.Effect --+    
                              |    
   feedcomponent.PostProcEffect --+
                                  |
                                 Audiorate

I am an effect that can be added to any component that changes the samplerate of the audio output.

Instance Methods [hide private]
 
__init__(self, name, sourcePad, pipeline, samplerate) source code
 
effect_setSamplerate(self, samplerate) source code
 
effect_getSamplerate(self) source code

Inherited from feedcomponent.PostProcEffect: plug

Inherited from feedcomponent.Effect: getComponent, setComponent, setUIState

Inherited from extern.log.log.Loggable: __providedBy__, __provides__, debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure, writeMarker

Class Variables [hide private]
  logCategory = 'audiorate-effect'
Implementors can provide a category to log their messages under.

Inherited from extern.log.log.Loggable: __implemented__

Instance Variables [hide private]

Inherited from feedcomponent.PostProcEffect: component, effectBin, name, pipeline, sourcePad

Method Details [hide private]

__init__(self, name, sourcePad, pipeline, samplerate)
(Constructor)

source code 
Parameters:
  • element - the video source element on which the post processing effect will be added
  • sourcePad - source pad used for linking the effect
  • pipeline - the pipeline of the element
  • samplerate - output samplerate
Overrides: feedcomponent.Effect.__init__