summaryrefslogtreecommitdiff
path: root/src/effects/peak_meter_effect.h
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-05-20 23:12:08 +0200
committerskal <pascal.massimino@gmail.com>2026-05-20 23:21:59 +0200
commitca8acd5e7c0556bee7cb21f5ff280c5fd1f47801 (patch)
tree3811886d12f075ba196f2a7ba2d05c0d5b43574b /src/effects/peak_meter_effect.h
parenta91f89c8ea15665853176c05597760d0fcf6e0df (diff)
fix: audio & effects cleanup — dead code removal, simplifications
Diffstat (limited to 'src/effects/peak_meter_effect.h')
-rw-r--r--src/effects/peak_meter_effect.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/effects/peak_meter_effect.h b/src/effects/peak_meter_effect.h
index 1f19ed6..b822efd 100644
--- a/src/effects/peak_meter_effect.h
+++ b/src/effects/peak_meter_effect.h
@@ -4,18 +4,18 @@
#pragma once
#include "gpu/effect.h"
#include "gpu/uniform_helper.h"
+#include "gpu/wgpu_resource.h"
class PeakMeter : public Effect {
public:
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,
NodeRegistry& nodes) override;
private:
- WGPURenderPipeline pipeline_;
- WGPUBindGroup bind_group_;
+ RenderPipeline pipeline_;
+ BindGroup bind_group_;
};