using Ryujinx.Common.Memory;
using System.Runtime.InteropServices;
namespace Ryujinx.Audio.Renderer.Parameter.Effect
{
///
/// for and .
///
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct AuxiliaryBufferParameter
{
///
/// The input channel indices that will be used by the to write data to .
///
public Array24 Input;
///
/// The output channel indices that will be used by the to read data from .
///
public Array24 Output;
///
/// The total channel count used.
///
public uint ChannelCount;
///
/// The target sample rate.
///
public uint SampleRate;
///
/// The buffer storage total size.
///
public uint BufferStorageSize;
///
/// The maximum number of channels supported.
///
/// This is unused.
public uint ChannelCountMax;
///
/// The address of the start of the region containing two followed by the data that will be written by the .
///
public ulong SendBufferInfoAddress;
///
/// The address of the start of the region containling data that will be written by the .
///
/// This is unused.
public ulong SendBufferStorageAddress;
///
/// The address of the start of the region containing two followed by the data that will be read by the .
///
/// Unused with .
public ulong ReturnBufferInfoAddress;
///
/// The address of the start of the region containling data that will be read by the .
///
/// This is unused.
public ulong ReturnBufferStorageAddress;
///
/// Size of a sample of the mix buffer.
///
/// This is unused.
public uint MixBufferSampleSize;
///
/// The total count of sample that can be stored.
///
/// This is unused.
public uint TotalSampleCount;
///
/// The count of sample of the mix buffer.
///
/// This is unused.
public uint MixBufferSampleCount;
}
}