Browse Source

use audec master as subproject

cairo_optimizations
Alexandros Theodotou 3 years ago
parent
commit
eb9fea8d12
Signed by: alex
GPG Key ID: 022EAE42313D70F3
  1. 5
      src/gui/widgets/meter.c
  2. 2
      subprojects/libaudec.wrap

5
src/gui/widgets/meter.c

@ -115,10 +115,11 @@ meter_draw_cb ( @@ -115,10 +115,11 @@ meter_draw_cb (
cairo_stroke (cr);
/* draw peak */
peak *= height;
cairo_set_source_rgba (
cr, 0.6, 0.1, 0.05, 1);
/* make higher peak brighter */
cr, 0.6 + 0.4 * (double) peak, 0.1, 0.05, 1);
cairo_set_line_width (cr, 2.0);
peak *= height;
cairo_move_to (
cr, x, (float) height - peak);
cairo_line_to (

2
subprojects/libaudec.wrap

@ -1,3 +1,3 @@ @@ -1,3 +1,3 @@
[wrap-git]
url = https://git.sr.ht/~alextee/libaudec
revision = v0.2.1
revision = master

Loading…
Cancel
Save