]> git.sesse.net Git - nageru/blobdiff - vu_common.h
Precalculate the VU/LRA meter images as pixmaps, since the painting is so slow.
[nageru] / vu_common.h
index 06a971f409fb9f4e3ac3c1cbe4c66bf049ac0e04..aa577214b191287b0c0d032a335d005c63bf8fe6 100644 (file)
@@ -4,6 +4,9 @@
 #include <QPainter>
 
 int 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);
 
 #endif // !defined(_VU_COMMON_H)