Skip to content

Commit e545f8d

Browse files
committed
Some fixes.
1 parent ad8dbdd commit e545f8d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

VoiceCraft.Core/Audio/Effects/EchoEffect.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public EchoEffect(float delay = 0.5f, float feedback = 0.5f)
1818
Feedback = feedback;
1919
}
2020

21-
public int SampleRate { get; } = Constants.SampleRate;
21+
public int SampleRate => Constants.SampleRate;
2222
public float Delay
2323
{
2424
get => _delay / SampleRate;

VoiceCraft.Server/Servers/VoiceCraftServer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public VoiceCraftServer(AudioEffectSystem audioEffectSystem, VoiceCraftWorld wor
3737

3838
_audioEffectSystem = audioEffectSystem;
3939
World = world;
40-
40+
4141
_audioEffectSystem.SetEffect(ushort.MaxValue, new ProximityEffect() { MaxRange = 30 });
4242
_listener.PeerDisconnectedEvent += OnPeerDisconnectedEvent;
4343
_listener.ConnectionRequestEvent += OnConnectionRequest;

0 commit comments

Comments
 (0)