mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-10 18:14:15 +00:00
audio-example: fix the example
We need to scale the frequency values.
This commit is contained in:
parent
9a7e45596e
commit
35b817ad48
1 changed files with 3 additions and 3 deletions
|
@ -69,9 +69,9 @@ main (gint argc, gchar ** argv)
|
|||
gst_object_unref (csource1);
|
||||
|
||||
cs = (GstTimedValueControlSource *) csource2;
|
||||
gst_timed_value_control_source_set (cs, 0 * GST_SECOND, 220.0);
|
||||
gst_timed_value_control_source_set (cs, 3 * GST_SECOND, 3520.0);
|
||||
gst_timed_value_control_source_set (cs, 6 * GST_SECOND, 440.0);
|
||||
gst_timed_value_control_source_set (cs, 0 * GST_SECOND, 220.0 / 20000.0);
|
||||
gst_timed_value_control_source_set (cs, 3 * GST_SECOND, 3520.0 / 20000.0);
|
||||
gst_timed_value_control_source_set (cs, 6 * GST_SECOND, 440.0 / 20000.0);
|
||||
|
||||
gst_object_unref (csource2);
|
||||
|
||||
|
|
Loading…
Reference in a new issue