Skip to content

Commit

Permalink
ensure InitializeLocalInfoProxies call order
Browse files Browse the repository at this point in the history
  • Loading branch information
Aytackydln committed May 18, 2024
1 parent 706b638 commit f90d6f9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Project-Aurora/Project-Aurora/Modules/AudioCaptureModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@ public sealed class AudioCaptureModule : AuroraModule
private AudioDeviceProxy? _renderProxy;
private AudioDeviceProxy? _captureProxy;

protected override Task Initialize()
protected override async Task Initialize()
{
InitializeLocalInfoProxies();
await Application.Current.Dispatcher.BeginInvoke(InitializeLocalInfoProxies);

Global.Configuration.PropertyChanged += ConfigurationOnAudioCaptureChanged;

return Task.CompletedTask;
}

private void ConfigurationOnAudioCaptureChanged(object? sender, PropertyChangedEventArgs e)
Expand Down

0 comments on commit f90d6f9

Please sign in to comment.