]> git.sesse.net Git - nageru/blob - vu_common.h
Replace the R128 meters for each channel with a digital peak meter.
[nageru] / vu_common.h
1 #ifndef _VU_COMMON_H
2 #define _VU_COMMON_H 1
3
4 #include <QPainter>
5
6 double lufs_to_pos(float level_lu, int height, float min_level, float max_level);
7
8 void draw_vu_meter(QPainter &painter, int width, int height, int horizontal_margin, double segment_margin, bool is_on, float min_level, float max_level, bool flip);
9
10 #endif // !defined(_VU_COMMON_H)