AudioBasicProcessorNode is an AudioNode with one input and one output where the input and output have the same number of channels.
| 19 | // AudioBasicProcessorNode is an AudioNode with one input and one output where |
| 20 | // the input and output have the same number of channels. |
| 21 | class AudioBasicProcessorNode : public AudioNode |
| 22 | { |
| 23 | public: |
| 24 | AudioBasicProcessorNode(AudioContext &, AudioNodeDescriptor const&); |
| 25 | virtual ~AudioBasicProcessorNode() = default; |
| 26 | |
| 27 | // AudioNode |
| 28 | virtual void process(ContextRenderLock &, int bufferSize) override; |
| 29 | virtual void reset(ContextRenderLock &) override; |
| 30 | virtual void initialize() override; |
| 31 | virtual void uninitialize() override; |
| 32 | |
| 33 | // Returns the number of channels for both the input and the output. |
| 34 | int numberOfChannels(); |
| 35 | |
| 36 | protected: |
| 37 | virtual double tailTime(ContextRenderLock & r) const override; |
| 38 | virtual double latencyTime(ContextRenderLock & r) const override; |
| 39 | |
| 40 | AudioProcessor * processor(); |
| 41 | AudioProcessor * processor() const; |
| 42 | |
| 43 | std::unique_ptr<AudioProcessor> m_processor; |
| 44 | }; |
| 45 | |
| 46 | } // namespace lab |
| 47 |
nothing calls this directly
no outgoing calls
no test coverage detected