feat(audio): implement ffmpeg-based audio operations backend

Adds AudioOperations.js with pure argument builders (convert/trim/extract/merge)
plus one executeOperation that spawns ffmpeg via a dependency-injected execFileFn,
so tests never invoke a real binary. Wires process-audio-operation in main.js and
updates preload.js's ALLOWED_SEND_CHANNELS to replace the 5 stale audio-* entries.

Amit Haridas
This commit is contained in:
2026-08-23 19:31:33 +05:30
parent 174eb3d6e9
commit a353a695b5
4 changed files with 250 additions and 5 deletions
+1 -5
View File
@@ -49,11 +49,7 @@ const ALLOWED_SEND_CHANNELS = [
'select-image-folder',
// Audio converter
'audio-convert',
'audio-batch-convert',
'audio-extract',
'audio-trim',
'audio-merge',
'process-audio-operation',
// Video converter
'video-convert',