}
if (disableSegmentation) {
return new NullSegmentation();
} else {
Segmentation segmentation = new ThresholdSegmentation(segmentationThresholdSeconds,
!ignoreParticipants);
segmentation.setSegmentResolution(new ResolutionImpl());
return segmentation;
}
}