]> git.sesse.net Git - nageru/blobdiff - vu_common.h
Add a benchmark for a simple audio chain; easier than profiling all of Nageru.
[nageru] / vu_common.h
index 06a971f409fb9f4e3ac3c1cbe4c66bf049ac0e04..c5b1ac0d37cc51f0d48a34c8cd0f869c38d60ae0 100644 (file)
@@ -3,7 +3,8 @@
 
 #include <QPainter>
 
-int lufs_to_pos(float level_lu, int height);
-void draw_vu_meter(QPainter &painter, float range_low_lu, float range_high_lu, int width, int height, int margin);
+double lufs_to_pos(float level_lu, int height, float min_level, float max_level);
+
+void draw_vu_meter(QPainter &painter, int width, int height, int margin, bool is_on, float min_level, float max_level, bool flip);
 
 #endif // !defined(_VU_COMMON_H)