aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eg-synth.lv2/synth.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-05 18:31:31 +0000
committerDavid Robillard <d@drobilla.net>2012-08-05 18:31:31 +0000
commitb6e75d3df84734b24b31721ee01f0bc3b3410f60 (patch)
tree5b57ee33d81f6edc9efabe38a59b2ea6b689937e /plugins/eg-synth.lv2/synth.c
parentdcbec727a45c27bec8fa4d5ccb90f76d3cdaf031 (diff)
downloadlv2-b6e75d3df84734b24b31721ee01f0bc3b3410f60.tar.xz
Lint.
Diffstat (limited to 'plugins/eg-synth.lv2/synth.c')
-rw-r--r--plugins/eg-synth.lv2/synth.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/eg-synth.lv2/synth.c b/plugins/eg-synth.lv2/synth.c
index f64741a..4bed709 100644
--- a/plugins/eg-synth.lv2/synth.c
+++ b/plugins/eg-synth.lv2/synth.c
@@ -112,7 +112,6 @@ run(LV2_Handle instance, uint32_t n_samples)
float phase_increment = (1.f / samples_per_cycle);
for (uint32_t pos = 0; pos < n_samples; pos++) {
-
/* Calculate the next sample. Phase ranges from 0..1, but sin()
expects its input in radians, so we multiply by 2 PI to convert it.
We also multiply by volume so it's not extremely loud. */