shithub: sox

Download patch

ref: 6455674b6eec823ef4fc43b7296dd75e690758f2
parent: 672834a9c1e5ee8c02ae4614cd6989b62426f684
author: robs <robs>
date: Mon Jun 30 17:46:30 EDT 2008

quash warning

--- a/src/synth.c
+++ b/src/synth.c
@@ -430,7 +430,7 @@
           case Exp:
             phase = chan->freq * exp(chan->mult * elapsed_time_s);
             break;
-          case Exp_cycle: {
+          case Exp_cycle: default: {
             double f = chan->freq * exp(synth->samples_done * chan->mult);
             double cycle_elapsed_time_s = elapsed_time_s - chan->cycle_start_time_s;
             if (f * cycle_elapsed_time_s >= 1) {  /* move to next cycle */