// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Audio
{
///
/// Interface that should be implemented by any class that wishes to influence how an audio source sounds.
///
public interface IAudioInfluencer
{
///
/// Applies an audio effect.
///
/// The GameObject on which the effect is to be applied.
void ApplyEffect(GameObject soundEmittingObject);
///
/// Removes a previously applied audio effect.
///
/// The GameObject from which the effect is to be removed.
void RemoveEffect(GameObject soundEmittingObject);
}
}