AudioStreamAlign.this
this
(void * ptr, Flag!"Take" take)No documentation available for this declaration.
this
(int rate, gst.types.ClockTime alignmentThreshold, gst.types.ClockTime discontWait)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.
Parameters
rate | a sample rate |
alignmentThreshold | a alignment threshold in nanoseconds |
discontWait | discont wait in nanoseconds |
Returns
a new #GstAudioStreamAlign. free with gstaudio.audio_stream_align.AudioStreamAlign.free.