using Ryujinx.Audio.Renderer.Server.Effect;
using Ryujinx.Common.Memory;
using System.Runtime.InteropServices;
namespace Ryujinx.Audio.Renderer.Parameter.Effect
{
/// <summary>
/// <see cref="IEffectInParameter.SpecificData"/> for <see cref="Common.EffectType.BiquadFilter"/>.
/// </summary>
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct BiquadFilterEffectParameter
/// The input channel indices that will be used by the <see cref="Dsp.AudioProcessor"/>.
public Array6<byte> Input;
/// The output channel indices that will be used by the <see cref="Dsp.AudioProcessor"/>.
public Array6<byte> Output;
/// Biquad filter numerator (b0, b1, b2).
public Array3<short> Numerator;
/// Biquad filter denominator (a1, a2).
/// <remarks>a0 = 1</remarks>
public Array2<short> Denominator;
/// The total channel count used.
public byte ChannelCount;
/// The current usage status of the effect on the client side.
public UsageState Status;
}