Trees | Indices | Help |
---|
|
1 # -*- Mode: Python -*- 2 # vi:si:et:sw=4:sts=4:ts=4 3 # 4 # Flumotion - a streaming media server 5 # Copyright (C) 2004,2005,2006,2007,2008 Fluendo, S.L. (www.fluendo.com). 6 # All rights reserved. 7 8 # This file may be distributed and/or modified under the terms of 9 # the GNU General Public License version 2 as published by 10 # the Free Software Foundation. 11 # This file is distributed without any warranty; without even the implied 12 # warranty of merchantability or fitness for a particular purpose. 13 # See "LICENSE.GPL" in the source distribution for more information. 14 15 # Licensees having purchased or holding a valid Flumotion Advanced 16 # Streaming Server license may use this file in accordance with the 17 # Flumotion Advanced Streaming Server Commercial License Agreement. 18 # See "LICENSE.Flumotion" in the source distribution for more information. 19 20 # Headers in this file shall remain intact. 21 22 import gettext 23 24 from zope.interface import implements 25 26 from flumotion.admin.assistant.interfaces import IEncoderPlugin 27 from flumotion.admin.assistant.models import AudioEncoder 28 from flumotion.admin.gtk.basesteps import AudioEncoderStep 29 30 __version__ = "$Rev: 7268 $" 31 _ = gettext.gettext 32 3335 componentType = 'speex-encoder' 36 4146 4743 properties = super(SpeexAudioEncoder, self).getProperties() 44 properties.bitrate *= 1000 45 return properties49 name = 'Speex encoder' 50 title = _('Speex Encoder') 51 sidebarName = _('Speex') 52 componentType = 'speex' 53 icon = 'xiphfish.png' 54 docSection = 'help-configuration-assistant-encoder-speex' 55 docAnchor = '' 56 docVersion = 'local' 57 58 # WizardStep 5972 73 8361 # Should be 2150 instead of 3 -> 3000 62 self.bitrate.set_range(3, 30) 63 self.bitrate.set_value(11) 64 65 self.bitrate.data_type = int 66 67 self.add_proxy(self.model.properties, ['bitrate'])68
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sat Mar 13 11:18:01 2010 | http://epydoc.sourceforge.net |