1
0

feat: Add FFmpeg audio recording and ydotool typing backends, making them configurable.

This commit is contained in:
2026-02-28 15:58:45 +01:00
parent 96ccf0ea9a
commit 3ceecbe5ee
6 changed files with 149 additions and 4 deletions

View File

@@ -54,11 +54,15 @@ public static class DaemonService
var notifications = new Notifications();
var groqClient = new GroqApiClient(config.GroqApiKey);
IAudioRecorder recorder = config.AudioBackend == "ffmpeg"
? new FfmpegAudioRecorder(stateTracker, notifications)
: new AudioRecorder(stateTracker, notifications);
var orchestrator = new TranscriptionOrchestrator(
groqClient,
groqClient,
configManager,
new AudioRecorder(stateTracker, notifications),
recorder,
notifications,
new TextInjector(notifications),
new HistoryManager(),