logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SoundMixerEffectLoopRouteResolver

    Pure, engine-agnostic resolver that turns an effect-loop definition + a source group name into the concrete set of AudioMixer exposed-parameter names (SoundMixerEffectLoopRoute) required to apply the loop. This keeps Unity parameter names inside SoundMixer configuration and out of EventDispatcher actions, and is unit-testable without Unity.

    Inheritance
    object
    SoundMixerEffectLoopRouteResolver
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.SoundMixer.Application.Routing
    Assembly: Serenity.SoundMixer.Application.dll
    Syntax
    public static class SoundMixerEffectLoopRouteResolver

    Methods

    TryResolve(ISoundMixerEffectLoopDefinition, string, out SoundMixerEffectLoopRoute, out string)

    Attempts to resolve the routing parameters for applying definition from sourceGroupName. Source-group matching is ordinal (exact). Returns false with a clear error when no route is configured for the group, or when the matched route is missing the source attenuation/send parameter names.

    Declaration
    public static bool TryResolve(ISoundMixerEffectLoopDefinition definition, string sourceGroupName, out SoundMixerEffectLoopRoute route, out string error)
    Parameters
    Type Name Description
    ISoundMixerEffectLoopDefinition definition

    The registered effect-loop definition.

    string sourceGroupName

    The logical source group to apply from.

    SoundMixerEffectLoopRoute route

    The resolved route on success; null on failure.

    string error

    A human-readable reason on failure; null on success.

    Returns
    Type Description
    bool

    True when a complete route was resolved; otherwise false.

    In this article
    © 2026 Serenity. All Rights Reserved