Remove unused AudioMixTarget code. (#3838)

* Remove unused AudioMixTarget code.

* Update submodule

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
Vera Aguilera Puerto
2021-04-13 12:38:19 +02:00
committed by GitHub
parent 233c779181
commit 499cfe7c3d
4 changed files with 6 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ namespace Content.Client.GameObjects.Components.Mobs
public interface ICharacterUI public interface ICharacterUI
{ {
/// <summary> /// <summary>
/// The godot control which holds the character user interface to be included in the window /// The control which holds the character user interface to be included in the window
/// </summary> /// </summary>
Control Scene { get; } Control Scene { get; }

View File

@@ -25,11 +25,11 @@ namespace Content.Client.GameObjects.EntitySystems
[Dependency] private readonly IStateManager _stateManager = default!; [Dependency] private readonly IStateManager _stateManager = default!;
[Dependency] private readonly IBaseClient _client = default!; [Dependency] private readonly IBaseClient _client = default!;
[Dependency] private readonly IClientGameTicker _clientGameTicker = default!; [Dependency] private readonly IClientGameTicker _clientGameTicker = default!;
private SoundCollectionPrototype _ambientCollection = default!; private SoundCollectionPrototype _ambientCollection = default!;
private AudioParams _ambientParams = new(-10f, 1, "Master", 0, 0, AudioMixTarget.Stereo, true, 0f); private AudioParams _ambientParams = new(-10f, 1, "Master", 0, 0, true, 0f);
private AudioParams _lobbyParams = new(-5f, 1, "Master", 0, 0, AudioMixTarget.Stereo, true, 0f); private AudioParams _lobbyParams = new(-5f, 1, "Master", 0, 0, true, 0f);
private IPlayingAudioStream? _ambientStream; private IPlayingAudioStream? _ambientStream;
private IPlayingAudioStream? _lobbyStream; private IPlayingAudioStream? _lobbyStream;

View File

@@ -20,7 +20,7 @@ namespace Content.Server.GameObjects.Components.Interactable
[RegisterComponent] [RegisterComponent]
public class ExpendableLightComponent : SharedExpendableLightComponent, IUse public class ExpendableLightComponent : SharedExpendableLightComponent, IUse
{ {
private static readonly AudioParams LoopedSoundParams = new(0, 1, "Master", 62.5f, 1, AudioMixTarget.Stereo, true, 0.3f); private static readonly AudioParams LoopedSoundParams = new(0, 1, "Master", 62.5f, 1, true, 0.3f);
/// <summary> /// <summary>
/// Status of light, whether or not it is emitting light. /// Status of light, whether or not it is emitting light.