NAP
multiplynode.h
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
4 
5 #pragma once
6 
7 #include <audio/core/audionode.h>
8 
9 namespace nap
10 {
11  namespace audio
12  {
13 
17  class NAPAPI MultiplyNode : public Node
18  {
19  public:
25  MultiplyNode(NodeManager& nodeManager, int reservedInputCount = 2);
26 
31 
35  OutputPin audioOutput = {this};
36 
37  private:
41  void process() override;
42 
43  std::vector<SampleBuffer*> mInputBuffers; // Internal preallocated input result buffer
44  };
45 
46  }
47 }
nap::audio::MultiInputPin
Definition: audiopin.h:145
nap::audio::MultiplyNode::inputs
MultiInputPin inputs
Definition: multiplynode.h:30
nap::audio::NodeManager
Definition: audionodemanager.h:33
nap::audio::OutputPin
Definition: audiopin.h:204
nap::audio::Node
Definition: audionode.h:33
nap
Definition: templateapp.h:17
nap::audio::MultiplyNode
Definition: multiplynode.h:17