GstClockTime out_timestamp, out_duration;
gboolean discont;
- align = gst_audio_stream_align_new (1000);
+ align = gst_audio_stream_align_new (1000, 40 * GST_MSECOND, 1 * GST_SECOND);
for (i = 0; i < 500; i++) {
timestamp = 10 * GST_MSECOND * i;
GstClockTime out_timestamp, out_duration;
gboolean discont;
- align = gst_audio_stream_align_new (-1000);
+ align = gst_audio_stream_align_new (-1000, 40 * GST_MSECOND, 1 * GST_SECOND);
for (i = 499; i >= 0; i--) {
timestamp = 10 * GST_MSECOND * i;