mirror of
https://github.com/webadderallorg/Recordly.git
synced 2026-11-10 16:04:38 +00:00
feat: add types for audio
This commit is contained in:
1 parent
530485c67a
commit
027a3a0a71
1 file changed
+8
@@ -137,6 +137,14 @@ export const DEFAULT_CROP_REGION: CropRegion = {
|
||||
height: 1,
|
||||
};
|
||||
|
||||
export interface AudioRegion {
|
||||
id: string;
|
||||
startMs: number;
|
||||
endMs: number;
|
||||
audioPath: string;
|
||||
volume: number;
|
||||
}
|
||||
|
||||
export type PlaybackSpeed = 0.25 | 0.5 | 0.75 | 1.25 | 1.5 | 1.75 | 2;
|
||||
|
||||
export interface SpeedRegion {
|
||||
|
||||
Reference in new issue
Block a user