projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8de9ee3
)
circles and circles and circles, again my friend
author
Robin Gareus
<robin@gareus.org>
Tue, 10 Mar 2015 01:48:14 +0000
(
02:48
+0100)
committer
Robin Gareus
<robin@gareus.org>
Tue, 10 Mar 2015 01:48:14 +0000
(
02:48
+0100)
escape the cairo vicious circle, fixes varispeed playback
& major CPU hog on OSX.
gtk2_ardour/shuttle_control.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/shuttle_control.cc
b/gtk2_ardour/shuttle_control.cc
index 5eacf3c93b9b8f619d3c47821075aecdf257e6b7..decff696ddd6022d98e17bf3c273e405b80b2caf 100644
(file)
--- a/
gtk2_ardour/shuttle_control.cc
+++ b/
gtk2_ardour/shuttle_control.cc
@@
-545,7
+545,7
@@
ShuttleControl::render (cairo_t* cr, cairo_rectangle_t*)
} else if ( speed ==0.0 )
rounded_rectangle (cr, offset, 4, marker_size-2, marker_size-2, 1);
else
- cairo_arc (cr, offset + marker_size*0.5, 2 + marker_size*0.5, marker_size*0.5, 0,
360
);
+ cairo_arc (cr, offset + marker_size*0.5, 2 + marker_size*0.5, marker_size*0.5, 0,
2. * M_PI
);
cairo_set_line_width (cr, 2);
cairo_stroke (cr);