Sound Bakery  v0.1.0
Open-source audio middleware for games
Loading...
Searching...
No Matches
audio_meter_widget.h
1#pragma once
2
3#include "gluten/widgets/widget.h"
4#include "sound_bakery/system.h"
5
6class sc_dsp;
7
8class audio_meter_widget : public gluten::widget
9{
10public:
11 WIDGET_CONSTRUCT(audio_meter_widget)
12
13 void start() override;
14 void render() override;
15
16private:
17 sc_dsp* m_meterDsp = nullptr;
18 std::array<float, SC_DSP_METER_MAX_CHANNELS> m_rmsVolumes;
19};
Definition audio_meter_widget.h:9
ma_node with an additional enum descriptor.
Definition sound_chef_common.h:179