Skip to content

Commit

Permalink
Fix audio effect nodes passing through the carrier signal
Browse files Browse the repository at this point in the history
  • Loading branch information
Nytra committed Jan 22, 2025
1 parent 7cb7cf3 commit f6c050c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion ProjectObsidian/ProtoFlux/Audio/PhaseModulatorNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ public void Read<S>(Span<S> buffer) where S : unmanaged, IAudioSample<S>
}

Span<S> newBuffer = stackalloc S[buffer.Length];
newBuffer = buffer;
Span<S> newBuffer2 = stackalloc S[buffer.Length];
if (AudioInput != null)
{
Expand Down
1 change: 0 additions & 1 deletion ProjectObsidian/ProtoFlux/Audio/RingModulatorNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ public void Read<S>(Span<S> buffer) where S : unmanaged, IAudioSample<S>
}

Span<S> newBuffer = stackalloc S[buffer.Length];
newBuffer = buffer;
Span<S> newBuffer2 = stackalloc S[buffer.Length];
if (AudioInput != null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ public void Read<S>(Span<S> buffer) where S : unmanaged, IAudioSample<S>
}

Span<S> newBuffer = stackalloc S[buffer.Length];
newBuffer = buffer;
Span<S> newBuffer2 = stackalloc S[buffer.Length];
if (AudioInput != null)
{
Expand Down

0 comments on commit f6c050c

Please sign in to comment.