mirror of
https://github.com/webadderallorg/Recordly.git
synced 2026-11-09 23:43:35 +00:00
refactor(audio): move source track type to shared module
This commit is contained in:
1 parent
84bb5b660a
commit
13aa646afc
2 files changed
+4
-2
No files matched your search
@@ -5,7 +5,8 @@ import type {
|
||||
SourceAudioTrackSettings,
|
||||
TrimRegion,
|
||||
} from "@/components/video-editor/types";
|
||||
import type { SourceTrackId } from "@/lib/exporter/audioRoutingEngine";
|
||||
|
||||
export type SourceTrackId = "mic" | "system" | "mixed";
|
||||
|
||||
export const AUDIO_BITRATE = 128_000;
|
||||
export const DECODE_BACKPRESSURE_LIMIT = 20;
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
import { SOURCE_AUDIO_NORMALIZE_GAIN } from "@/components/video-editor/audio/audioTypes";
|
||||
import type { AudioRegion } from "@/components/video-editor/types";
|
||||
import { getSourceTrackIdFromPath } from "./audioProcessorShared";
|
||||
import type { SourceTrackId } from "./audioProcessorShared";
|
||||
import { resolveSourceAudioFallbackPaths } from "./sourceAudioFallback";
|
||||
|
||||
export { getSourceTrackIdFromPath };
|
||||
export type { SourceTrackId };
|
||||
|
||||
export type SourceTrackId = "mic" | "system" | "mixed";
|
||||
export type ResolvedAudioTrackKind = "user" | "system" | "mic" | "mixed" | "embedded";
|
||||
|
||||
export interface ResolvedAudioTrack {
|
||||
|
||||
Reference in new issue
Block a user