diff options
Diffstat (limited to 'src/effects/peak_meter_effect.h')
| -rw-r--r-- | src/effects/peak_meter_effect.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/effects/peak_meter_effect.h b/src/effects/peak_meter_effect.h index 905bcda..1786522 100644 --- a/src/effects/peak_meter_effect.h +++ b/src/effects/peak_meter_effect.h @@ -5,19 +5,17 @@ #include "gpu/effect.h" #include "gpu/uniform_helper.h" -class PeakMeterEffect : public Effect { +class PeakMeter : public Effect { public: - PeakMeterEffect(const GpuContext& ctx, - const std::vector<std::string>& inputs, - const std::vector<std::string>& outputs); - ~PeakMeterEffect() override; + PeakMeter(const GpuContext& ctx, const std::vector<std::string>& inputs, + const std::vector<std::string>& outputs, float start_time, + float end_time); + ~PeakMeter() override; - void render(WGPUCommandEncoder encoder, - const UniformsSequenceParams& params, + void render(WGPUCommandEncoder encoder, const UniformsSequenceParams& params, NodeRegistry& nodes) override; private: WGPURenderPipeline pipeline_; WGPUBindGroup bind_group_; - UniformBuffer<UniformsSequenceParams> uniforms_buffer_; }; |
