1
0

refactor: rename AudioRecorder to PipewireAudioRecorder and update references.

This commit is contained in:
2026-03-01 21:43:05 +01:00
parent e96cafabc6
commit e5aa9e2cc0
3 changed files with 4 additions and 4 deletions

View File

@@ -5,7 +5,7 @@ using Toak.Core.Interfaces;
namespace Toak.Audio;
public class AudioRecorder(IRecordingStateTracker stateTracker, INotifications notifications) : IAudioRecorder
public class PipewireAudioRecorder(IRecordingStateTracker stateTracker, INotifications notifications) : IAudioRecorder
{
private readonly string _wavPath = Constants.Paths.RecordingWavFile;
private readonly IRecordingStateTracker _stateTracker = stateTracker;
@@ -67,7 +67,7 @@ public class AudioRecorder(IRecordingStateTracker stateTracker, INotifications n
catch (Exception ex)
{
// Process might already be dead
Console.WriteLine($"[AudioRecorder] Error stopping pw-record: {ex.Message}");
Console.WriteLine($"[PipewireAudioRecorder] Error stopping pw-record: {ex.Message}");
}
finally
{