9 lines
194 B
JavaScript
9 lines
194 B
JavaScript
|
import { getMiddleSample } from './_utils';
|
||
|
|
||
|
export default class Segment {
|
||
|
constructor({ samples }) {
|
||
|
this.samples = samples;
|
||
|
this.progress = getMiddleSample(samples).progress;
|
||
|
}
|
||
|
}
|