Allocate a new #GstAudioStreamAlign with the given configuration. All
processing happens according to sample rate rate, until
gstaudio.audio_stream_align.AudioStreamAlign.setRate is called with a new rate.
A negative rate can be used for reverse playback.
Allocate a new #GstAudioStreamAlign with the given configuration. All processing happens according to sample rate rate, until gstaudio.audio_stream_align.AudioStreamAlign.setRate is called with a new rate. A negative rate can be used for reverse playback.
alignment_threshold gives the tolerance in nanoseconds after which a timestamp difference is considered a discontinuity. Once detected, discont_wait nanoseconds have to pass without going below the threshold again until the output buffer is marked as a discontinuity. These can later be re-configured with gstaudio.audio_stream_align.AudioStreamAlign.setAlignmentThreshold and gstaudio.audio_stream_align.AudioStreamAlign.setDiscontWait.