ClippingAudioSource constructor

ClippingAudioSource({
  1. required UriAudioSource child,
  2. Duration? start,
  3. Duration? end,
  4. dynamic tag,
  5. Duration? duration,
})

Creates an audio source that clips child to the range start..end, where start and end default to the beginning and end of the original child source.

Implementation

ClippingAudioSource({
  required this.child,
  this.start,
  this.end,
  dynamic tag,
  Duration? duration,
}) : super(tag: tag, duration: duration);