aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Audio/Renderer/Parameter/SinkOutStatus.cs
blob: dd0f867b576fc4f478db0b4b29beabfac1310662 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using System.Runtime.InteropServices;

namespace Ryujinx.Audio.Renderer.Parameter
{
    /// <summary>
    /// Output information for a sink.
    /// </summary>
    [StructLayout(LayoutKind.Sequential, Pack = 1)]
    public struct SinkOutStatus
    {
        /// <summary>
        /// Last written offset if the sink type is <see cref="Common.SinkType.CircularBuffer"/>.
        /// </summary>
        public uint LastWrittenOffset;

        /// <summary>
        /// Reserved/padding.
        /// </summary>
        private readonly uint _padding;

        /// <summary>
        /// Reserved/padding.
        /// </summary>
        private unsafe fixed ulong _reserved[3];
    }
}