| 33 | } |
| 34 | |
| 35 | bool NormalizeMaxAll::init(const ParameterMap& params, const YAAFE::Ports<YAAFE::StreamInfo>& inp) |
| 36 | { |
| 37 | assert(inp.size()==1); |
| 38 | const StreamInfo& in = inp[0].data; |
| 39 | |
| 40 | m_nbFrames = getIntParam("NMANbFrames",params); |
| 41 | |
| 42 | outStreamInfo().add(in); |
| 43 | |
| 44 | return true; |
| 45 | } |
| 46 | |
| 47 | void NormalizeMaxAll::processBlock(InputBuffer* in, OutputBuffer* out, int nbFrames) |
| 48 | { |