channel fixes

This commit is contained in:
itten
2026-07-09 21:37:41 +03:00
parent 1a7eb136f5
commit 1927c22e25
+2 -2
View File
@@ -58,9 +58,9 @@ export const FORMAT_OPTIONS_VIDEO: ParamDef[] = [
]
export const FORMAT_OPTIONS_AUDIO: ParamDef[] = [
{ key: 'channels', label: 'Channels', type: 'number', default: 0, min: 0, max: 16, isFormat: true, group: 'AUDIO' },
{ key: 'channels', label: 'Channels', type: 'number', default: 0, min: 0, max: 16, group: 'AUDIO' },
{ key: 'sample_rate', label: 'Sample Rate', type: 'select', options: SAMPLE_RATE_OPTIONS, default: 48000, isFormat: true, group: 'AUDIO' },
{ key: 'amplitude', label: 'Amplitude (dB)', type: 'number', default: -18, min: -60, max: 0, isFormat: true },
{ key: 'amplitude_db', label: 'Amplitude (dBFS)', type: 'number', default: -18, min: -60, max: 0 },
]
export const NODE_TYPES: Record<string, NodeTypeDef> = {