timingsrc 1.2.5 → 1.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/build/es2019/factories/compute-velocity.d.ts +2 -0
- package/build/es2019/factories/compute-velocity.d.ts.map +1 -0
- package/build/es2019/factories/compute-velocity.js +2 -0
- package/build/es2019/factories/compute-velocity.js.map +1 -0
- package/build/es2019/factories/default-set-timingsrc.d.ts +9 -2
- package/build/es2019/factories/default-set-timingsrc.d.ts.map +1 -1
- package/build/es2019/factories/default-set-timingsrc.js +6 -3
- package/build/es2019/factories/default-set-timingsrc.js.map +1 -1
- package/build/es2019/factories/set-current-time.d.ts +1 -2
- package/build/es2019/factories/set-current-time.d.ts.map +1 -1
- package/build/es2019/factories/set-current-time.js.map +1 -1
- package/build/es2019/factories/set-playback-rate.d.ts +1 -2
- package/build/es2019/factories/set-playback-rate.d.ts.map +1 -1
- package/build/es2019/factories/set-playback-rate.js.map +1 -1
- package/build/es2019/factories/set-timingsrc-with-custom-update-function.d.ts +6 -2
- package/build/es2019/factories/set-timingsrc-with-custom-update-function.d.ts.map +1 -1
- package/build/es2019/factories/set-timingsrc-with-custom-update-function.js +3 -1
- package/build/es2019/factories/set-timingsrc-with-custom-update-function.js.map +1 -1
- package/build/es2019/factories/set-timingsrc.d.ts +5 -2
- package/build/es2019/factories/set-timingsrc.d.ts.map +1 -1
- package/build/es2019/factories/set-timingsrc.js +1 -3
- package/build/es2019/factories/set-timingsrc.js.map +1 -1
- package/build/es2019/factories/update-gradually.d.ts +7 -2
- package/build/es2019/factories/update-gradually.d.ts.map +1 -1
- package/build/es2019/factories/update-gradually.js +18 -7
- package/build/es2019/factories/update-gradually.js.map +1 -1
- package/build/es2019/factories/update-media-element.d.ts +5 -2
- package/build/es2019/factories/update-media-element.d.ts.map +1 -1
- package/build/es2019/factories/update-media-element.js.map +1 -1
- package/build/es2019/factories/update-stepwise-factory.d.ts +12 -2
- package/build/es2019/factories/update-stepwise-factory.d.ts.map +1 -1
- package/build/es2019/factories/update-stepwise-factory.js +98 -25
- package/build/es2019/factories/update-stepwise-factory.js.map +1 -1
- package/build/es2019/factories/window.d.ts +1 -2
- package/build/es2019/factories/window.d.ts.map +1 -1
- package/build/es2019/factories/window.js.map +1 -1
- package/build/es2019/functions/determine-supported-playback-rate-values.d.ts +2 -1
- package/build/es2019/functions/determine-supported-playback-rate-values.d.ts.map +1 -1
- package/build/es2019/functions/determine-supported-playback-rate-values.js.map +1 -1
- package/build/es2019/functions/update-vector-with-new-position.d.ts +6 -0
- package/build/es2019/functions/update-vector-with-new-position.d.ts.map +1 -0
- package/build/es2019/functions/update-vector-with-new-position.js +5 -0
- package/build/es2019/functions/update-vector-with-new-position.js.map +1 -0
- package/build/es2019/module.d.ts +11 -3
- package/build/es2019/module.d.ts.map +1 -1
- package/build/es2019/module.js +3 -1
- package/build/es2019/module.js.map +1 -1
- package/build/es2019/types/index.d.ts +1 -17
- package/build/es2019/types/index.d.ts.map +1 -1
- package/build/es2019/types/index.js +1 -17
- package/build/es2019/types/index.js.map +1 -1
- package/build/es2019/types/update-function.d.ts +1 -1
- package/build/es2019/types/update-function.d.ts.map +1 -1
- package/build/es2019/types/update-vector-with-custom-state.d.ts +3 -0
- package/build/es2019/types/update-vector-with-custom-state.d.ts.map +1 -0
- package/build/es2019/types/update-vector-with-custom-state.js +2 -0
- package/build/es2019/types/update-vector-with-custom-state.js.map +1 -0
- package/build/es5/bundle.js +167 -63
- package/package.json +16 -16
- package/src/factories/compute-velocity.ts +2 -0
- package/src/factories/default-set-timingsrc.ts +30 -19
- package/src/factories/set-current-time.ts +2 -4
- package/src/factories/set-playback-rate.ts +2 -4
- package/src/factories/set-timingsrc-with-custom-update-function.ts +24 -9
- package/src/factories/set-timingsrc.ts +14 -4
- package/src/factories/update-gradually.ts +37 -8
- package/src/factories/update-media-element.ts +18 -3
- package/src/factories/update-stepwise-factory.ts +133 -38
- package/src/factories/window.ts +1 -3
- package/src/functions/determine-supported-playback-rate-values.ts +3 -1
- package/src/functions/update-vector-with-new-position.ts +9 -0
- package/src/module.ts +4 -0
- package/src/types/index.ts +1 -17
- package/src/types/update-function.ts +5 -1
- package/src/types/update-vector-with-custom-state.ts +5 -0
- package/build/es2019/types/default-timingsrc-factory.d.ts +0 -8
- package/build/es2019/types/default-timingsrc-factory.d.ts.map +0 -1
- package/build/es2019/types/default-timingsrc-factory.js +0 -2
- package/build/es2019/types/default-timingsrc-factory.js.map +0 -1
- package/build/es2019/types/determine-supported-playback-rate-values-function.d.ts +0 -2
- package/build/es2019/types/determine-supported-playback-rate-values-function.d.ts.map +0 -1
- package/build/es2019/types/determine-supported-playback-rate-values-function.js +0 -2
- package/build/es2019/types/determine-supported-playback-rate-values-function.js.map +0 -1
- package/build/es2019/types/pause-function.d.ts +0 -2
- package/build/es2019/types/pause-function.d.ts.map +0 -1
- package/build/es2019/types/pause-function.js +0 -2
- package/build/es2019/types/pause-function.js.map +0 -1
- package/build/es2019/types/play-function.d.ts +0 -2
- package/build/es2019/types/play-function.d.ts.map +0 -1
- package/build/es2019/types/play-function.js +0 -2
- package/build/es2019/types/play-function.js.map +0 -1
- package/build/es2019/types/set-current-time-factory.d.ts +0 -3
- package/build/es2019/types/set-current-time-factory.d.ts.map +0 -1
- package/build/es2019/types/set-current-time-factory.js +0 -2
- package/build/es2019/types/set-current-time-factory.js.map +0 -1
- package/build/es2019/types/set-current-time-function.d.ts +0 -2
- package/build/es2019/types/set-current-time-function.d.ts.map +0 -1
- package/build/es2019/types/set-current-time-function.js +0 -2
- package/build/es2019/types/set-current-time-function.js.map +0 -1
- package/build/es2019/types/set-playback-rate-factory.d.ts +0 -3
- package/build/es2019/types/set-playback-rate-factory.d.ts.map +0 -1
- package/build/es2019/types/set-playback-rate-factory.js +0 -2
- package/build/es2019/types/set-playback-rate-factory.js.map +0 -1
- package/build/es2019/types/set-playback-rate-function.d.ts +0 -2
- package/build/es2019/types/set-playback-rate-function.d.ts.map +0 -1
- package/build/es2019/types/set-playback-rate-function.js +0 -2
- package/build/es2019/types/set-playback-rate-function.js.map +0 -1
- package/build/es2019/types/set-timingsrc-factory.d.ts +0 -5
- package/build/es2019/types/set-timingsrc-factory.d.ts.map +0 -1
- package/build/es2019/types/set-timingsrc-factory.js +0 -2
- package/build/es2019/types/set-timingsrc-factory.js.map +0 -1
- package/build/es2019/types/set-timingsrc-function.d.ts +0 -4
- package/build/es2019/types/set-timingsrc-function.d.ts.map +0 -1
- package/build/es2019/types/set-timingsrc-function.js +0 -2
- package/build/es2019/types/set-timingsrc-function.js.map +0 -1
- package/build/es2019/types/set-timingsrc-with-custom-update-function-factory.d.ts +0 -5
- package/build/es2019/types/set-timingsrc-with-custom-update-function-factory.d.ts.map +0 -1
- package/build/es2019/types/set-timingsrc-with-custom-update-function-factory.js +0 -2
- package/build/es2019/types/set-timingsrc-with-custom-update-function-factory.js.map +0 -1
- package/build/es2019/types/set-timingsrc-with-custom-update-function-function.d.ts +0 -5
- package/build/es2019/types/set-timingsrc-with-custom-update-function-function.d.ts.map +0 -1
- package/build/es2019/types/set-timingsrc-with-custom-update-function-function.js +0 -2
- package/build/es2019/types/set-timingsrc-with-custom-update-function-function.js.map +0 -1
- package/build/es2019/types/update-gradually-factory.d.ts +0 -4
- package/build/es2019/types/update-gradually-factory.d.ts.map +0 -1
- package/build/es2019/types/update-gradually-factory.js +0 -2
- package/build/es2019/types/update-gradually-factory.js.map +0 -1
- package/build/es2019/types/update-media-element-factory.d.ts +0 -7
- package/build/es2019/types/update-media-element-factory.d.ts.map +0 -1
- package/build/es2019/types/update-media-element-factory.js +0 -2
- package/build/es2019/types/update-media-element-factory.js.map +0 -1
- package/build/es2019/types/update-media-element-function.d.ts +0 -2
- package/build/es2019/types/update-media-element-function.d.ts.map +0 -1
- package/build/es2019/types/update-media-element-function.js +0 -2
- package/build/es2019/types/update-media-element-function.js.map +0 -1
- package/build/es2019/types/update-stepwise-factory-factory.d.ts +0 -4
- package/build/es2019/types/update-stepwise-factory-factory.d.ts.map +0 -1
- package/build/es2019/types/update-stepwise-factory-factory.js +0 -2
- package/build/es2019/types/update-stepwise-factory-factory.js.map +0 -1
- package/build/es2019/types/update-stepwise-factory.d.ts +0 -3
- package/build/es2019/types/update-stepwise-factory.d.ts.map +0 -1
- package/build/es2019/types/update-stepwise-factory.js +0 -2
- package/build/es2019/types/update-stepwise-factory.js.map +0 -1
- package/build/es2019/types/window-factory.d.ts +0 -2
- package/build/es2019/types/window-factory.d.ts.map +0 -1
- package/build/es2019/types/window-factory.js +0 -2
- package/build/es2019/types/window-factory.js.map +0 -1
- package/src/types/default-timingsrc-factory.ts +0 -15
- package/src/types/determine-supported-playback-rate-values-function.ts +0 -1
- package/src/types/pause-function.ts +0 -1
- package/src/types/play-function.ts +0 -1
- package/src/types/set-current-time-factory.ts +0 -3
- package/src/types/set-current-time-function.ts +0 -1
- package/src/types/set-playback-rate-factory.ts +0 -3
- package/src/types/set-playback-rate-function.ts +0 -1
- package/src/types/set-timingsrc-factory.ts +0 -8
- package/src/types/set-timingsrc-function.ts +0 -8
- package/src/types/set-timingsrc-with-custom-update-function-factory.ts +0 -10
- package/src/types/set-timingsrc-with-custom-update-function-function.ts +0 -10
- package/src/types/update-gradually-factory.ts +0 -9
- package/src/types/update-media-element-factory.ts +0 -12
- package/src/types/update-media-element-function.ts +0 -8
- package/src/types/update-stepwise-factory-factory.ts +0 -4
- package/src/types/update-stepwise-factory.ts +0 -3
- package/src/types/window-factory.ts +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"set-timingsrc-with-custom-update-function-function.js","sourceRoot":"","sources":["../../../src/types/set-timingsrc-with-custom-update-function-function.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { TDetermineSupportedPlaybackRateValuesFunction } from './determine-supported-playback-rate-values-function';
|
|
2
|
-
import { TUpdateFunction } from './update-function';
|
|
3
|
-
export declare type TUpdateGraduallyFactory = (supportedPlaybackRateValues: ReturnType<TDetermineSupportedPlaybackRateValuesFunction>, timeConstant: number, threshold: number, tolerance: number) => TUpdateFunction;
|
|
4
|
-
//# sourceMappingURL=update-gradually-factory.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"update-gradually-factory.d.ts","sourceRoot":"","sources":["../../../src/types/update-gradually-factory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6CAA6C,EAAE,MAAM,qDAAqD,CAAC;AACpH,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,oBAAY,uBAAuB,GAAG,CAClC,2BAA2B,EAAE,UAAU,CAAC,6CAA6C,CAAC,EACtF,YAAY,EAAE,MAAM,EACpB,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,KAChB,eAAe,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"update-gradually-factory.js","sourceRoot":"","sources":["../../../src/types/update-gradually-factory.ts"],"names":[],"mappings":""}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { TPauseFunction } from './pause-function';
|
|
2
|
-
import { TPlayFunction } from './play-function';
|
|
3
|
-
import { TSetCurrentTimeFunction } from './set-current-time-function';
|
|
4
|
-
import { TSetPlaybackRateFunction } from './set-playback-rate-function';
|
|
5
|
-
import { TUpdateMediaElementFunction } from './update-media-element-function';
|
|
6
|
-
export declare type TUpdateMediaElementFactory = (pause: TPauseFunction, play: TPlayFunction, setCurrentTime: TSetCurrentTimeFunction, setPlaybackRate: TSetPlaybackRateFunction) => TUpdateMediaElementFunction;
|
|
7
|
-
//# sourceMappingURL=update-media-element-factory.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"update-media-element-factory.d.ts","sourceRoot":"","sources":["../../../src/types/update-media-element-factory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAE9E,oBAAY,0BAA0B,GAAG,CACrC,KAAK,EAAE,cAAc,EACrB,IAAI,EAAE,aAAa,EACnB,cAAc,EAAE,uBAAuB,EACvC,eAAe,EAAE,wBAAwB,KACxC,2BAA2B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"update-media-element-factory.js","sourceRoot":"","sources":["../../../src/types/update-media-element-factory.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"update-media-element-function.d.ts","sourceRoot":"","sources":["../../../src/types/update-media-element-function.ts"],"names":[],"mappings":"AAAA,oBAAY,2BAA2B,GAAG,CACtC,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,gBAAgB,EAC9B,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,KACf,IAAI,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"update-media-element-function.js","sourceRoot":"","sources":["../../../src/types/update-media-element-function.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { TTranslateTimingStateVectorFunction } from 'timing-object';
|
|
2
|
-
import { TUpdateStepwiseFactory } from './update-stepwise-factory';
|
|
3
|
-
export declare type TUpdateStepwiseFactoryFactory = (translateTimingStateVector: TTranslateTimingStateVectorFunction) => TUpdateStepwiseFactory;
|
|
4
|
-
//# sourceMappingURL=update-stepwise-factory-factory.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"update-stepwise-factory-factory.d.ts","sourceRoot":"","sources":["../../../src/types/update-stepwise-factory-factory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mCAAmC,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAEnE,oBAAY,6BAA6B,GAAG,CAAC,0BAA0B,EAAE,mCAAmC,KAAK,sBAAsB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"update-stepwise-factory-factory.js","sourceRoot":"","sources":["../../../src/types/update-stepwise-factory-factory.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"update-stepwise-factory.d.ts","sourceRoot":"","sources":["../../../src/types/update-stepwise-factory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,oBAAY,sBAAsB,GAAG,CAAC,SAAS,EAAE,MAAM,KAAK,eAAe,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"update-stepwise-factory.js","sourceRoot":"","sources":["../../../src/types/update-stepwise-factory.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"window-factory.d.ts","sourceRoot":"","sources":["../../../src/types/window-factory.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc,GAAG,MAAM,IAAI,GAAG,CAAC,MAAM,GAAG,OAAO,UAAU,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"window-factory.js","sourceRoot":"","sources":["../../../src/types/window-factory.ts"],"names":[],"mappings":""}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { TDetermineSupportedPlaybackRateValuesFunction } from './determine-supported-playback-rate-values-function';
|
|
2
|
-
import { TSetTimingsrcFactory } from './set-timingsrc-factory';
|
|
3
|
-
import { TSetTimingsrcFunction } from './set-timingsrc-function';
|
|
4
|
-
import { TSetTimingsrcWithCustomUpdateFunctionFunction } from './set-timingsrc-with-custom-update-function-function';
|
|
5
|
-
import { TUpdateGraduallyFactory } from './update-gradually-factory';
|
|
6
|
-
import { TUpdateStepwiseFactory } from './update-stepwise-factory';
|
|
7
|
-
|
|
8
|
-
export type TDefaultSetTimingsrcFactory = (
|
|
9
|
-
createSetTimingsrc: TSetTimingsrcFactory,
|
|
10
|
-
createUpdateGradually: TUpdateGraduallyFactory,
|
|
11
|
-
createUpdateStepwise: TUpdateStepwiseFactory,
|
|
12
|
-
determineSupportedPlaybackRateValues: TDetermineSupportedPlaybackRateValuesFunction,
|
|
13
|
-
setTimingsrcWithCustomUpdateFunction: TSetTimingsrcWithCustomUpdateFunctionFunction,
|
|
14
|
-
window: null | (Window & typeof globalThis)
|
|
15
|
-
) => TSetTimingsrcFunction;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type TDetermineSupportedPlaybackRateValuesFunction = (window: null | (Window & typeof globalThis)) => readonly [number, number];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type TPauseFunction = (mediaElement: HTMLMediaElement) => void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type TPlayFunction = (mediaElement: HTMLMediaElement) => void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type TSetCurrentTimeFunction = (mediaElement: HTMLMediaElement, currentValue: number, nextValue: number) => void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type TSetPlaybackRateFunction = (mediaElement: HTMLMediaElement, currentValue: number, nextValue: number) => void;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { TSetTimingsrcFunction } from './set-timingsrc-function';
|
|
2
|
-
import { TSetTimingsrcWithCustomUpdateFunctionFunction } from './set-timingsrc-with-custom-update-function-function';
|
|
3
|
-
import { TUpdateFunction } from './update-function';
|
|
4
|
-
|
|
5
|
-
export type TSetTimingsrcFactory = (
|
|
6
|
-
setTimingsrcWithCustomUpdateFunction: TSetTimingsrcWithCustomUpdateFunctionFunction,
|
|
7
|
-
update: TUpdateFunction
|
|
8
|
-
) => TSetTimingsrcFunction;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ITimingObject } from 'timing-object';
|
|
2
|
-
import { TPrepareTimingStateVectorFunction } from './prepare-timing-state-vector-function';
|
|
3
|
-
|
|
4
|
-
export type TSetTimingsrcFunction = (
|
|
5
|
-
mediaElement: HTMLMediaElement,
|
|
6
|
-
timingObject: ITimingObject,
|
|
7
|
-
prepareTimingStateVector?: null | TPrepareTimingStateVectorFunction
|
|
8
|
-
) => () => void;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { TAnimationFrameFunction, TOnFunction } from 'subscribable-things';
|
|
2
|
-
import { TSetTimingsrcWithCustomUpdateFunctionFunction } from './set-timingsrc-with-custom-update-function-function';
|
|
3
|
-
import { TUpdateMediaElementFunction } from './update-media-element-function';
|
|
4
|
-
|
|
5
|
-
export type TSetTimingsrcWithCustomUpdateFunctionFactory = (
|
|
6
|
-
animationFrame: TAnimationFrameFunction,
|
|
7
|
-
document: Document,
|
|
8
|
-
on: TOnFunction,
|
|
9
|
-
updateMediaElement: TUpdateMediaElementFunction
|
|
10
|
-
) => TSetTimingsrcWithCustomUpdateFunctionFunction;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ITimingObject } from 'timing-object';
|
|
2
|
-
import { TPrepareTimingStateVectorFunction } from './prepare-timing-state-vector-function';
|
|
3
|
-
import { TUpdateFunction } from './update-function';
|
|
4
|
-
|
|
5
|
-
export type TSetTimingsrcWithCustomUpdateFunctionFunction = (
|
|
6
|
-
mediaElement: HTMLMediaElement,
|
|
7
|
-
timingObject: ITimingObject,
|
|
8
|
-
updateFunction: TUpdateFunction,
|
|
9
|
-
prepareTimingStateVector?: null | TPrepareTimingStateVectorFunction
|
|
10
|
-
) => () => void;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { TDetermineSupportedPlaybackRateValuesFunction } from './determine-supported-playback-rate-values-function';
|
|
2
|
-
import { TUpdateFunction } from './update-function';
|
|
3
|
-
|
|
4
|
-
export type TUpdateGraduallyFactory = (
|
|
5
|
-
supportedPlaybackRateValues: ReturnType<TDetermineSupportedPlaybackRateValuesFunction>,
|
|
6
|
-
timeConstant: number,
|
|
7
|
-
threshold: number,
|
|
8
|
-
tolerance: number
|
|
9
|
-
) => TUpdateFunction;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { TPauseFunction } from './pause-function';
|
|
2
|
-
import { TPlayFunction } from './play-function';
|
|
3
|
-
import { TSetCurrentTimeFunction } from './set-current-time-function';
|
|
4
|
-
import { TSetPlaybackRateFunction } from './set-playback-rate-function';
|
|
5
|
-
import { TUpdateMediaElementFunction } from './update-media-element-function';
|
|
6
|
-
|
|
7
|
-
export type TUpdateMediaElementFactory = (
|
|
8
|
-
pause: TPauseFunction,
|
|
9
|
-
play: TPlayFunction,
|
|
10
|
-
setCurrentTime: TSetCurrentTimeFunction,
|
|
11
|
-
setPlaybackRate: TSetPlaybackRateFunction
|
|
12
|
-
) => TUpdateMediaElementFunction;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { TTranslateTimingStateVectorFunction } from 'timing-object';
|
|
2
|
-
import { TUpdateStepwiseFactory } from './update-stepwise-factory';
|
|
3
|
-
|
|
4
|
-
export type TUpdateStepwiseFactoryFactory = (translateTimingStateVector: TTranslateTimingStateVectorFunction) => TUpdateStepwiseFactory;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type TWindowFactory = () => null | (Window & typeof globalThis);
|