2020-08-18 02:49:37 +01:00
|
|
|
using Ryujinx.Common.Memory;
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
|
|
|
namespace Ryujinx.Audio.Renderer.Parameter.Effect
|
|
|
|
{
|
|
|
|
/// <summary>
|
2021-05-25 18:01:09 +01:00
|
|
|
/// <see cref="IEffectInParameter.SpecificData"/> for <see cref="Common.EffectType.BufferMix"/>.
|
2020-08-18 02:49:37 +01:00
|
|
|
/// </summary>
|
|
|
|
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
|
|
|
public struct BufferMixParameter
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// The input channel indices that will be used by the <see cref="Dsp.AudioProcessor"/>.
|
|
|
|
/// </summary>
|
|
|
|
public Array24<byte> Input;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// The output channel indices that will be used by the <see cref="Dsp.AudioProcessor"/>.
|
|
|
|
/// </summary>
|
|
|
|
public Array24<byte> Output;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// The output volumes of the mixes.
|
|
|
|
/// </summary>
|
|
|
|
public Array24<float> Volumes;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// The total count of mixes used.
|
|
|
|
/// </summary>
|
|
|
|
public uint MixesCount;
|
|
|
|
}
|
2022-07-25 19:46:33 +01:00
|
|
|
}
|