audiotestsrc: add missing break
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Thu, 6 Oct 2011 17:20:32 +0000 (18:20 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 6 Oct 2011 18:45:09 +0000 (20:45 +0200)
And make violet noise usable

https://bugzilla.gnome.org/show_bug.cgi?id=661105

gst/audiotestsrc/gstaudiotestsrc.c

index 0304b8ade67dd2553f6eee5ddf810274417b8460..78a5d6b6eaea6e5585b654ae6f235205c29fa037 100644 (file)
@@ -1004,6 +1004,7 @@ gst_audio_test_src_change_wave (GstAudioTestSrc * src)
         src->gen = g_rand_new ();
       src->red.state = 0.0;
       src->process = violet_noise_funcs[src->format];
+      break;
     default:
       GST_ERROR ("invalid wave-form");
       break;