refactor: audio recorder

This commit is contained in:
tux
2025-07-05 00:46:32 +05:30
parent 50a43610db
commit 896b2a9f40
3 changed files with 61 additions and 75 deletions

View File

@@ -1,8 +1,6 @@
using Avalonia.Controls;
using System;
using System.Net.Quic;
using System.Runtime.InteropServices;
using Avalonia;
using Avalonia.Input;
using Avalonia.Interactivity;
using Avalonia.Media;
@@ -44,6 +42,7 @@ public partial class MainWindow : Window
// Global Hotkey
_hook.KeyPressed += OnKeyPressed;
_hook.RunAsync();
_chatUserControl.SendAudio();
}
private void OnPointerPressed(object? sender, PointerPressedEventArgs e)