logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityAudioDepthCueControllerProbeTickTests

    Tests for the probe side of Serenity.AudioPlayer.Infrastructure.Services.UnityAudioDepthCueController: the occlusion tick that runs about ten times per second, the accumulator that schedules it, and the way its answer reaches the smoothed cues. Probe answers and "is sounding" are stubbed, so no test depends on real physics or on audio playing. Each test clears the probe's call count after its plays, so only the calls it provokes are counted.

    Inheritance
    object
    UnityAudioDepthCueControllerProbeTickTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.UnityAudioPlayer.Tests.Infrastructure
    Assembly: Tests.dll
    Syntax
    public class UnityAudioDepthCueControllerProbeTickTests

    Constructors

    UnityAudioDepthCueControllerProbeTickTests()

    Declaration
    public UnityAudioDepthCueControllerProbeTickTests()

    Methods

    Advance_AccumulatesProbeInterval_ProbesOncePerInterval()

    Declaration
    public void Advance_AccumulatesProbeInterval_ProbesOncePerInterval()

    Advance_NoListener_LogsOnce()

    Declaration
    public void Advance_NoListener_LogsOnce()

    Advance_SteadyState_AllocatesNothing()

    Declaration
    public void Advance_SteadyState_AllocatesNothing()

    ApplyStep_NeverProbes()

    Declaration
    public void ApplyStep_NeverProbes()

    Occlusion_Clears_VolumeReturnsToBase()

    Declaration
    public void Occlusion_Clears_VolumeReturnsToBase()

    Occlusion_FirstApplyStepNotYetAtOccludedCutoff_ReachesItAfterSettling()

    Declaration
    public void Occlusion_FirstApplyStepNotYetAtOccludedCutoff_ReachesItAfterSettling()

    ProbeTick_MixedVoices_EachVoiceTakesItsOwnAnswer()

    Declaration
    public void ProbeTick_MixedVoices_EachVoiceTakesItsOwnAnswer()

    ProbeTick_NoListener_NoProbeNoThrow()

    Declaration
    public void ProbeTick_NoListener_NoProbeNoThrow()

    ProbeTick_OneProbePerSoundingPositionedVoice()

    Declaration
    public void ProbeTick_OneProbePerSoundingPositionedVoice()

    ProbeTick_StoppedVoice_NoLongerUpdated()

    Declaration
    public void ProbeTick_StoppedVoice_NoLongerUpdated()

    ProbeTick_TwoDAndSilentAndIdleSlots_NoProbe()

    Declaration
    public void ProbeTick_TwoDAndSilentAndIdleSlots_NoProbe()

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

    Declaration
    public void TearDown()
    In this article
    © 2026 Serenity. All Rights Reserved