]> git.sesse.net Git - nageru/blobdiff - vu_common.h
Fix a bug where the automatic makeup gain adjustment would never quite get to the...
[nageru] / vu_common.h
index aa577214b191287b0c0d032a335d005c63bf8fe6..118eed89468ab3ae6b0fa77db6b404a7ebbb29ba 100644 (file)
@@ -3,10 +3,8 @@
 
 #include <QPainter>
 
-int lufs_to_pos(float level_lu, int height);
+double lufs_to_pos(float level_lu, int height);
 
-// TODO: Now that we precalculate these as pixmaps, perhaps we don't need the
-// high/low range anymore, just a yes/no.
-void draw_vu_meter(QPainter &painter, float range_low_lu, float range_high_lu, int width, int height, int margin);
+void draw_vu_meter(QPainter &painter, int width, int height, int margin, bool is_on);
 
 #endif // !defined(_VU_COMMON_H)