Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Nytra committed Nov 26, 2024
1 parent b6d5298 commit 4569a26
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ProjectObsidian/Components/Audio/FrequencyModulator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ public class FrequencyModulator : Component, IAudioSource, IWorldElement
public readonly SyncRef<IAudioSource> CarrierSource;
public readonly SyncRef<IAudioSource> ModulatorSource;

private double dspTimeLastUpdate;

public bool IsActive
{
get
Expand All @@ -37,7 +35,6 @@ public int ChannelCount
protected override void OnAwake()
{
base.OnAwake();
dspTimeLastUpdate = Engine.Current.AudioSystem.DSPTime;
ModulationIndex.Value = 100f; // Default modulation index
}

Expand Down

0 comments on commit 4569a26

Please sign in to comment.