From ab1f2001ab21fc5f2bf2e7ddb603cfaf347038ac Mon Sep 17 00:00:00 2001 From: KristofferStrube Date: Tue, 7 May 2024 20:05:44 +0200 Subject: [PATCH] Removed InProcess from `PullAudioWorkletProcessor` --- .../AudioWorkletProcessors/PullAudioWorkletProcessor.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/KristofferStrube.Blazor.WebAudio/AudioWorklet/AudioWorkletProcessors/PullAudioWorkletProcessor.cs b/src/KristofferStrube.Blazor.WebAudio/AudioWorklet/AudioWorkletProcessors/PullAudioWorkletProcessor.cs index 49b89d3..2f75301 100644 --- a/src/KristofferStrube.Blazor.WebAudio/AudioWorklet/AudioWorkletProcessors/PullAudioWorkletProcessor.cs +++ b/src/KristofferStrube.Blazor.WebAudio/AudioWorklet/AudioWorkletProcessors/PullAudioWorkletProcessor.cs @@ -1,18 +1,17 @@ using KristofferStrube.Blazor.DOM; -using Microsoft.JSInterop; namespace KristofferStrube.Blazor.WebAudio; // public partial class PullAudioWorkletProcessor : AudioWorkletProcessor, IAsyncDisposable { - private readonly MessagePortInProcess messagePort; + private readonly MessagePort messagePort; private readonly EventListener messageEventListener; /// public override AudioWorkletNode Node { get; } - private PullAudioWorkletProcessor(AudioWorkletNode node, MessagePortInProcess messagePort, EventListener messageEventListener) + private PullAudioWorkletProcessor(AudioWorkletNode node, MessagePort messagePort, EventListener messageEventListener) { Node = node; this.messagePort = messagePort;