1
0

feat: Implement a modular skill system with hotword detection, streaming text output, and enhanced logging.

This commit is contained in:
2026-02-27 00:39:32 +01:00
parent 4ee4bc5457
commit a365448399
18 changed files with 451 additions and 23 deletions

View File

@@ -15,9 +15,12 @@ public static class AudioRecorder
{
if (File.Exists(WavPath))
{
Logger.LogDebug($"Deleting old audio file: {WavPath}");
File.Delete(WavPath);
}
Logger.LogDebug("Starting ffmpeg to record audio...");
var pInfo = new ProcessStartInfo
{
FileName = "ffmpeg",
@@ -41,6 +44,7 @@ public static class AudioRecorder
var pid = StateTracker.GetRecordingPid();
if (pid.HasValue)
{
Logger.LogDebug($"Found active recording process with PID {pid.Value}. Attempting to stop...");
try
{
var process = Process.GetProcessById(pid.Value);