audiotestsrc: add missing break

And make violet noise usable

https://bugzilla.gnome.org/show_bug.cgi?id=661105
This commit is contained in:
Vincent Penquerc'h 2011-10-06 18:20:32 +01:00 committed by Sebastian Dröge
parent 8d617f4037
commit 70239887e8

View file

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