feat: Add FFmpeg audio recording and ydotool typing backends, making them configurable.
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user