offsetTime static method
将 lrclist
整体时间都偏移 offset
Implementation
static void offsetTime(List<LyricSrcItemEntity_c> lrclist, double offset) {
if (offset == 0) {
return;
}
for (int i = 0; i < lrclist.length; ++i) {
if (lrclist[i].time > 0) {
lrclist[i].time += offset;
}
}
}