splitAtPlayhead method
Splits whichever clip is under the playhead at the playhead.
Implementation
bool splitAtPlayhead() {
final time = _currentGlobalTime.value;
final index = clipIndexAt(time);
if (index == -1) return false;
final before = clips.length;
splitClip(index, time - clipStartTime(index));
return clips.length > before;
}