Changeset 367 for trunk/morituri/common/encode.py
- Timestamp:
- 08-04-10 23:06:52 (3 years ago)
- File:
-
- 1 edited
-
trunk/morituri/common/encode.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/morituri/common/encode.py
r363 r367 124 124 """ 125 125 126 logCategory = 'EncodeTask' 127 126 128 description = 'Encoding' 127 129 peak = None … … 245 247 for p in s['peak']: 246 248 if self._peakdB < p: 249 self.log('higher peakdB found, now %r', self._peakdB) 247 250 self._peakdB = p 248 251 … … 257 260 task.Task.stop(self) 258 261 259 if self._peakdB: 262 if self._peakdB is not None: 263 self.debug('peakdB %r', self._peakdB) 260 264 self.peak = math.sqrt(math.pow(10, self._peakdB / 10.0)) 265 else: 266 self.warning('No peak found, something went wrong!')
Note: See TracChangeset
for help on using the changeset viewer.
