0
0
Fork 0
mirror of https://github.com/GreemDev/Ryujinx.git synced 2025-01-11 05:12:00 +00:00
Ryujinx/src/Ryujinx.Audio/Common/AudioOutputConfiguration.cs
2023-04-27 23:51:14 +02:00

37 lines
No EOL
915 B
C#

using Ryujinx.Common.Memory;
using System.Runtime.InteropServices;
namespace Ryujinx.Audio.Common
{
/// <summary>
/// Audio system output configuration.
/// </summary>
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct AudioOutputConfiguration
{
/// <summary>
/// The target sample rate of the system.
/// </summary>
public uint SampleRate;
/// <summary>
/// The target channel count of the system.
/// </summary>
public uint ChannelCount;
/// <summary>
/// Reserved/unused
/// </summary>
public SampleFormat SampleFormat;
/// <summary>
/// Reserved/unused.
/// </summary>
private Array3<byte> _padding;
/// <summary>
/// The initial audio system state.
/// </summary>
public AudioDeviceState AudioOutState;
}
}