Package flumotion :: Package component :: Package effects :: Package audioconvert :: Module audioconvert :: Class Audioconvert
[hide private]

Class Audioconvert

source code

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

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, channels=None, samplerate=None, tolerance=20000000, use_audiorate=True) source code
 
effect_setTolerance(self, tolerance) source code
 
effect_getTolerance(self) source code
 
effect_setSamplerate(self, samplerate) source code
 
effect_getSamplerate(self) source code
 
effect_setChannels(self, channels) source code
 
effect_getChannels(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 = 'audioconvert-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, channels=None, samplerate=None, tolerance=20000000, use_audiorate=True)
(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
  • channels - number of output channels
  • samplerate - output samplerate
  • tolerance - tolerance to correct imperfect timestamps
Overrides: feedcomponent.Effect.__init__