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