comparison vamp/collect.py @ 80:de501b7e165a

naming: PyPluginObject methods snake_case
author Chris Cannam
date Wed, 21 Jan 2015 12:31:32 +0000
parents 650f0697812f
children a11b57e9fb0b
comparison
equal deleted inserted replaced
79:650f0697812f 80:de501b7e165a
34 34
35 def collect(data, sampleRate, key, parameters = {}, output = ""): 35 def collect(data, sampleRate, key, parameters = {}, output = ""):
36 36
37 plug, stepSize, blockSize = load.loadAndConfigureFor(data, sampleRate, key, parameters) 37 plug, stepSize, blockSize = load.loadAndConfigureFor(data, sampleRate, key, parameters)
38 38
39 plugOuts = plug.getOutputs() 39 plugOuts = plug.get_outputs()
40 if plugOuts == []: 40 if plugOuts == []:
41 return 41 return
42 42
43 outNo = -1 43 outNo = -1
44 for n, o in zip(range(0, len(plugOuts)), plugOuts): 44 for n, o in zip(range(0, len(plugOuts)), plugOuts):