mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
gst/audiotestsrc/gstaudiotestsrc.c: Remove cpp style commented old code.
Original commit message from CVS: * gst/audiotestsrc/gstaudiotestsrc.c: Remove cpp style commented old code.
This commit is contained in:
parent
0d3c154ccf
commit
e6528c39fe
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2008-04-15 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
|
* gst/audiotestsrc/gstaudiotestsrc.c:
|
||||||
|
Remove cpp style commented old code.
|
||||||
|
|
||||||
2008-04-15 Stefan Kost <ensonic@users.sf.net>
|
2008-04-15 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
* gst/playback/gstdecodebin2.c:
|
* gst/playback/gstdecodebin2.c:
|
||||||
|
|
|
@ -580,7 +580,6 @@ gst_audio_test_src_generate_pink_noise_value (GstPinkNoise * pink)
|
||||||
* values together. Only one changes each time.
|
* values together. Only one changes each time.
|
||||||
*/
|
*/
|
||||||
pink->running_sum -= pink->rows[num_zeros];
|
pink->running_sum -= pink->rows[num_zeros];
|
||||||
//new_random = ((glong)GenerateRandomNumber()) >> PINK_RANDOM_SHIFT;
|
|
||||||
new_random = 32768.0 - (65536.0 * (gulong) rand () / (RAND_MAX + 1.0));
|
new_random = 32768.0 - (65536.0 * (gulong) rand () / (RAND_MAX + 1.0));
|
||||||
pink->running_sum += new_random;
|
pink->running_sum += new_random;
|
||||||
pink->rows[num_zeros] = new_random;
|
pink->rows[num_zeros] = new_random;
|
||||||
|
|
Loading…
Reference in a new issue