MCPcopy Create free account
hub / github.com/Yaafe/Yaafe / init

Method init

src_cpp/yaafe-components/audio/NormalizeMaxAll.cpp:35–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35bool 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
47void NormalizeMaxAll::processBlock(InputBuffer* in, OutputBuffer* out, int nbFrames)
48{

Callers

nothing calls this directly

Calls 2

addMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected