using System.Runtime.InteropServices;
namespace Ryujinx.Audio.Renderer.Common
{
///
/// Represents the input parameter for .
///
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct BehaviourParameter
{
///
/// The current audio renderer revision in use.
///
public int UserRevision;
///
/// Reserved/padding.
///
private uint _padding;
///
/// The flags given controlling behaviour of the audio renderer
///
/// See and .
public ulong Flags;
///
/// Represents an error during .
///
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct ErrorInfo
{
///
/// The error code to report.
///
public ResultCode ErrorCode;
///
/// Reserved/padding.
///
private uint _padding;
///
/// Extra information given with the
///
/// This is usually used to report a faulting cpu address when a mapping fail.
public ulong ExtraErrorInfo;
}
}
}