Class UnityAudioDepthCueControllerReverbTests
The reverb half of Serenity.AudioPlayer.Infrastructure.Services.UnityAudioDepthCueController: every positioned play is admitted under the cap (nearest wins), then the reverb room level follows distance and occlusion. Probe answers and "is sounding" are stubbed, so no test depends on real physics or on audio playing.
Inherited Members
Namespace: Serenity.UnityAudioPlayer.Tests.Infrastructure
Assembly: Tests.dll
Syntax
public class UnityAudioDepthCueControllerReverbTests
Constructors
UnityAudioDepthCueControllerReverbTests()
Declaration
public UnityAudioDepthCueControllerReverbTests()
Methods
Advance_ReverbSteadyState_AllocatesNothing()
Declaration
public void Advance_ReverbSteadyState_AllocatesNothing()
ApplyStep_FarOccludedVoice_WetAboveNearVoice()
Declaration
public void ApplyStep_FarOccludedVoice_WetAboveNearVoice()
ApplyStep_LowPassAndReverbBothOn_DriveBothFilters()
Declaration
public void ApplyStep_LowPassAndReverbBothOn_DriveBothFilters()
ApplyStep_Occluded_IsWetterThanTheSameVoiceUnoccluded()
Declaration
public void ApplyStep_Occluded_IsWetterThanTheSameVoiceUnoccluded()
ApplyStep_RedundantRoomValues_SkipNativeWrites()
Declaration
public void ApplyStep_RedundantRoomValues_SkipNativeWrites()
ApplyStep_WetShareExactlyAtTheAudibleThreshold_ReverbEnabled()
Declaration
public void ApplyStep_WetShareExactlyAtTheAudibleThreshold_ReverbEnabled()
ApplyStep_WetShareJustBelowTheAudibleThreshold_ReverbDisabled()
Declaration
public void ApplyStep_WetShareJustBelowTheAudibleThreshold_ReverbDisabled()
ApplyStep_WithinMinOccluded_ReverbEnabled()
Declaration
public void ApplyStep_WithinMinOccluded_ReverbEnabled()
ApplyStep_WithinMin_ReverbDisabled()
Declaration
public void ApplyStep_WithinMin_ReverbDisabled()
BaseRoom_ReadFromFilterAfterPresetApplied()
Declaration
public void BaseRoom_ReadFromFilterAfterPresetApplied()
Cap_FartherNewVoice_NeverGetsReverbEvenWhenItWouldBeWet()
Declaration
public void Cap_FartherNewVoice_NeverGetsReverbEvenWhenItWouldBeWet()
Cap_MoreThanKPositionedVoices_AtMostKReverbEnabled()
Declaration
public void Cap_MoreThanKPositionedVoices_AtMostKReverbEnabled()
Cap_NearerNewVoice_TakesTheSlotOfTheFarthest()
Declaration
public void Cap_NearerNewVoice_TakesTheSlotOfTheFarthest()
Cap_PausedVoice_ReleasesItsSlotAndIsReadmittedOnResume()
Declaration
public void Cap_PausedVoice_ReleasesItsSlotAndIsReadmittedOnResume()
Cap_ResumeAfterPauseOvershoot_TrimmedPerFrame()
Declaration
public void Cap_ResumeAfterPauseOvershoot_TrimmedPerFrame()
Cap_ReverberatedVoiceStops_CapRespectedAfterNextTick()
Declaration
public void Cap_ReverberatedVoiceStops_CapRespectedAfterNextTick()
Cap_Zero_NeverEnablesReverb()
Declaration
public void Cap_Zero_NeverEnablesReverb()
ResetForPlay_NoListener_ReverbWaitsForTheListenerThenIsAdmitted()
Declaration
public void ResetForPlay_NoListener_ReverbWaitsForTheListenerThenIsAdmitted()
ResetForPlay_PresetSwitchedToUserBeforeRoomIsWritten()
Declaration
public void ResetForPlay_PresetSwitchedToUserBeforeRoomIsWritten()
ResetForPlay_ReverberatedSlotThenTwoD_Disabled()
Declaration
public void ResetForPlay_ReverberatedSlotThenTwoD_Disabled()
ResetForPlay_TwoD_ReverbDisabled()
Declaration
public void ResetForPlay_TwoD_ReverbDisabled()
ResetForPlay_UserPreset_DoesNotDriftTheBaseRoomBetweenPlays()
Declaration
public void ResetForPlay_UserPreset_DoesNotDriftTheBaseRoomBetweenPlays()
ReverbOnlyChannel_NeverWritesVolume()
Declaration
public void ReverbOnlyChannel_NeverWritesVolume()
ReverbOnlyChannel_ProbesOnlyWhenOccludedWetShareIncreaseIsPositive()
Declaration
public void ReverbOnlyChannel_ProbesOnlyWhenOccludedWetShareIncreaseIsPositive()
SetUp()
Declaration
public void SetUp()
StoppedVoice_ReverbFilterDisabledWithinOneFrame()
Declaration
public void StoppedVoice_ReverbFilterDisabledWithinOneFrame()
TearDown()
Declaration
public void TearDown()